Q. Which one of the following is correct output for the following given JavaScript code:

Code:
functionheight()  
{     
var  height=123.56;  
var type =(height>=190)?"Taller":"Little short";  
return type;  
}  
  • (A) 123.56
  • (B) Taller
  • (C) 190
  • (D) Little shorter
πŸ’¬ Discuss
βœ… Correct Answer: (B) Taller

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
294
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Akshay Kulkarni
Publisher
πŸ“ˆ
94%
Success Rate