+ 1
js
for (i = 0; i <= 10; i++) { if (i == 5) { continue; } document.write(i + "<br />"); } how to skip cont and no 5?
3 odpowiedzi
+ 10
If I ==5
I +=i
+ 3
https://www.sololearn.com/learn/JavaScript/1143/
why making three consecutive posts posting examples in js course here?
if this is for badge or what, please don't
in the bottom left of each lesson, there is Comment. check people's explanations there.
+ 1
The continue statement goes back to the start of the loop, not executing the writing.
Please, stop.