A
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;
}
{
var height=123.56;
var type =(height>=190)?"Taller":"Little short";
return type;
}
- Correct Answer - Option(B)
- Views: 25
- Filed under category JavaScript
- Hashtags:
Discusssion
Login to discuss.