Correct Answer : D
Realated Questions
Which one of the following is the correct output for the following given JavaScript code?
function height() { var height=123.56; var type =(height>=190)?"Taller":"Little short"; return type; } console.log(height())
Which one of the following is the correct output for the following given JavaScript code:
function outputfun(object) { const place = object? object.place: "Earth"; return "clean:"+ place; } console.log(outputfun({place:"Moon"}));
Which one of the following options is the correct output for the given code of JavaScript?
const pow = new Function("num1","num2","return Math.pow(num1,num2)"); console.log(pow(2,3));