Q. Which one of the following is correct output for the following given JavaScript code
Code:
<p id="demo"></p>
<script>
functionmyFunction()
{
document.getElementById("demo").innerHTML=Math.acos(0.5);
}
</script>
β
Correct Answer: (D)
047