A

Admin • 833K Points
Coach

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
  • Correct Answer - Option(B)
  • Views: 25
  • Filed under category JavaScript
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.