Rob's garden / notes / note

Note

New test program today:

for (let i = 0; i < 100_000; i++) { console.log(i); }

I want to add an interrupt to stop user-submitted code taking over the device. So if too many statements happen in JavaScript land, I can cancel the program and save the poor ESP tiny CPU and also keep the other systems on the controller working.

I got it to stop if execution is taking too long!