A
Q. What will be the correct output of the following JavaScript code?
Code:
<p id="demo"></p>
<script>
functionmyFunc()
{
document.getElementById("demo").innerHTML=Math.asinh(1);
}
</script>
<script>
functionmyFunc()
{
document.getElementById("demo").innerHTML=Math.asinh(1);
}
</script>
- Correct Answer - Option(D)
- Views: 20
- Filed under category JavaScript
- Hashtags:
Discusssion
Login to discuss.