Hi Gordon,
This for loop throws an error:
for(i=0,j=7;i<10;i++,j++) { console.log('a'); } ERROR: Got ',' expected ')' at line 1 col 22 for(i=0,j=7;i<10;i++,j++) { console.log('a'); } ^
for(i=0,j=7;i<10;i++,j++) { console.log('a'); } ERROR: Got ',' expected ')' at line 1 col 22 for(i=0,j=7;i<10;i++,j++) { console.log('a'); }
^
Is working on jconsole.com.
http://jsconsole.com/?for(i%3D0%2Cj%3D7%3Bi%3C10%3Bi%2B%2B%2Cj%2B%2B)%20%7B%20console.log(%27a%27)%3B%20%7D
Greetings
Sacha
@Sacha started
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.
Hi Gordon,
This for loop throws an error:
Is working on jconsole.com.
http://jsconsole.com/?for(i%3D0%2Cj%3D7%3Bi%3C10%3Bi%2B%2B%2Cj%2B%2B)%20%7B%20console.log(%27a%27)%3B%20%7D
Greetings
Sacha