A
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: 26
- Filed under category JavaScript
- Hashtags:
Discusssion
Login to discuss.