Espruino/tests/test051.js
Gordon Williams f3d6e0bc83 First commit
2013-09-26 14:39:04 +01:00

11 lines
147 B
JavaScript

// test that interrupt works 2
var result = -5;
for(j=0;j<10;j++) {
for(i=0;i<10;i++) {
result++;
if (i>4) interrupt();
}
}
result=0;