Q. What will be the output of the following JavaScript code?
Code:
int x=0; for(x;x<10;x++); console.log(x);
β
Correct Answer: (C)
10
int x=0; for(x;x<10;x++); console.log(x);
You must be Logged in to update hint/solution