A
Q. Which one of the following is correct output for the following given JavaScript code:
Code:
<p id="demo"></p>
<script>
function Function1()
{
document.getElementById("demo").innerHTML=Math.cbrt(792);
}
</script>
<script>
function Function1()
{
document.getElementById("demo").innerHTML=Math.cbrt(792);
}
</script>
- Correct Answer - Option(A)
- Views: 29
- Filed under category JavaScript
- Hashtags:
Discusssion
Login to discuss.