What will be the output of the following JavaScript code? [code] <p id="demo"></p> <script> function myFunction() { document.getElementById(

Thành Nguyễn

New member
What will be the output of the following JavaScript code?
Code:
<p id="demo"></p>
<script>
function myFunction() 
{
   document.getElementById("demo").innerHTML = Number.MAX_VALUE;
}
</script>
A. 1.7976931348623157e+308
B. 1.7976931348623157e+305
C. 1.7976931348623157e+307
D. Error
 

Tìm kiếm

Back
Top