If a js code breaks from a for loop as follows, the loop index i should not be changed!
for(var i=0; i<10; i++) if(i==3)break; console.log(i)
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
If a js code breaks from a for loop as follows, the loop index i should not be changed!
for(var i=0; i<10; i++) if(i==3)break; console.log(i)