1.

function myfun()
{
var a = "";
document.getElementById ("demo").innerHTML = Boolean(a);
}
6.What will be the output of the following JavaScript code?

A. true
B. false
C. error
D. undefined
Answer» C. error


Discussion

No Comment Found