Q. What will be the output for the following code snippet?
Code:
<p id="example"></p>
<script>
function Func()
{
document.getElementById("example").innerHTML=Math.sqrt(81);
}
</script>
β
Correct Answer: (A)
9