Q. What will be the output of the following JavaScript code?
Code:
<script>
let x = 10;
document.write(x, " , ", toString(x));
</script>
β
Correct Answer: (C)
10 , [object Undefined]