Trang Esther
New member
What will be the output of the following JavaScript code?
A. True
B. False
C. Error
D. Undefiend
Code:
<p id="demo"></p>
<script>
function myFunction()
{
var x = 100;
document.getElementById("demo").innerHTML = x.NEGATIVE_INFINITY;
}
</script>
B. False
C. Error
D. Undefiend