✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
What is the output of the following javascript code
var x = 8; y =0; if(x) document.write(9); else document.write(x);