Q. Which one of the following is correct output for the following given JavaScript code:
Code:<p id="demo"></p>
<script>
functionourFunction()
{
document.getElementById("demo").innerHTML=Math.abs(-7.25);
}
</script>
β
Correct Answer: (C)
25