Q. What will be the output of the following JavaScript code?
Code:function myfun()
{
document.getElementById ("demo").innerHTML = Boolean(21 > 15);
}
β
Correct Answer: (B)
true
function myfun()
{
document.getElementById ("demo").innerHTML = Boolean(21 > 15);
}
You must be Logged in to update hint/solution