Kizspy | Question: 23
(Choose 1 answer)
Consider the code:
<body>
<p id="demo"></p>
<script>
var x = "Total:" + 16 +4;
document.getElementById("demo").innerHTML = x;
</script>
</body>
What is the output of the code?
A. The result of the code is "Total:20"
B. The result of the code is "Total: 16+4"
C. The result of the code is "Total: 164"
D. The result of the code is "Total:NaN"