Q. What will be the output of the following JavaScript code?

Code:
functioncomparison()  
{  
int number=10;  
if(number==="10")  
returntrue;  
else  
returnfalse;  
}  
  • (A) True
  • (B) false
  • (C) runtime error
  • (D) compilation error
πŸ’¬ Discuss
βœ… Correct Answer: (A) True

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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