+ 2

Break and continue

What is the difference between break and continue? Thank you in advance

29th Dec 2016, 12:53 PM
Erinda Kapllani
Erinda Kapllani - avatar
2 ответов
29th Dec 2016, 12:55 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 6
break stop the loop, continue just go for the next iteration.
29th Dec 2016, 1:26 PM
Nahuel
Nahuel - avatar