Q. Which of the following options would be the correct output for the given JavaScript code?
Code:
var x=0; for(x;x<10;x++); console.log(x);
β
Correct Answer: (A)
10
var x=0; for(x;x<10;x++); console.log(x);
You must be Logged in to update hint/solution