New course! Every coder should learn Generative AI!
Try a free lesson+ 5
What is the output of the code?
var x=0; while (x<6){ x++; } document.write(x);
8 Answers
+ 7
It's 6 because it is delayed increment
+ 12
Answer is 6
+ 9
6
+ 7
I think it's 7.. 😅
Got it... It's 6😐
Damn how did miss that
0
6
0
0
0
Answer is 6
0
Ans=6