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

Đức Lưu

New member
What will be the output of the following JavaScript code?
Code:
<p id="demo"></p>
<script>
function myFunction() 
{
     document.getElementById("demo").innerHTML = Math.acosh(2);
}
</script>
A. 1.31
B. 1.20
C. 1.11
D. 1.41
 

Tìm kiếm

Back
Top