What will be the output of the following JavaScript code? [code] function myFunction() { var x = null; document.getElementById("demo").in

What will be the output of the following JavaScript code?
Code:
function myFunction() 
{
   var x = null;
   document.getElementById("demo").innerHTML = Boolean(x);
}
A. True
B. False
C. Error
D. Undefined
 

Tìm kiếm

Back
Top