πŸ“Š JavaScript
Q. See the given code of JavaScript and choose the correct output from the following:
Code:
functioncomparing()  
{  
intx=9;  
chary=9;  
if(x==y)  
returntrue;  
else  
returnfalse;  
}  
  • (A) compilation error
  • (B) false
  • (C) runtime error
  • (D) true
πŸ’¬ Discuss
βœ… Correct Answer: (D) true

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
205
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Durgesh
Publisher
πŸ“ˆ
91%
Success Rate