+ 1
what is break does and what is continue does work in java script example?
java script
2 Respuestas
+ 3
This will help you to understood the concepts of break and continue
https://www.w3schools.com/js/js_break.asp
+ 3
Much like in any other language. Continue breaks the cycle and goes to the next one (so it kind of "skips" the current step), whilst break exits the loop, immediately.
https://www.sololearn.com/learn/JavaScript/1143/