I
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);
for(x;x<10;x++);
console.log(x);
- Correct Answer - Option(A)
- Views: 125
- Filed under category JavaScript
Discusssion
Login to discuss.