mirror of
https://github.com/espruino/Espruino.git
synced 2025-12-08 19:06:15 +00:00
11 lines
147 B
JavaScript
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;
|