A
Q. What will be the output of the following JavaScript code?
Code:
int x=0;
for(x;x<10;x++);
console.log(x);
for(x;x<10;x++);
console.log(x);
- Correct Answer - Option(C)
- Views: 21
- Filed under category JavaScript
- Hashtags:
Discusssion
Login to discuss.