Q. What will be the output of the following JavaScript code?
Code:
<script>
var x = 12.34;
document.getElementById("test").innerHTML = typeof(x);
</script>
β
Correct Answer: (D)
number