+ 3
for loops
Hi everyone, pls why is the output of this loop 10? var x = 2; for(i = 0; i < 4; i++) { x += 2; } document.write(x);
2 ответов
+ 2
Thank you :)
Hi everyone, pls why is the output of this loop 10? var x = 2; for(i = 0; i < 4; i++) { x += 2; } document.write(x);