Question:What is the output for the following code?
let x=0/0;
let y=0/4;
let z=2/0;
document.write(x+","+y+","+z);
 

A infinity,0,infinity 

B NaN,infinity,infinity 

C NaN,0,infinity 

D 0,0,0 

+ Answer
+ Report
Total Preview: 794

Copyright © 2024. Powered by Intellect Software Ltd