What will be the output of the following code?
<script>
let ans = 0 / 0;
document.write(ans); </script> |
(A) 0
(B) infinity
(C) NaN
(D) None of the above
All Replies
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.