@Filip (post #24), you just go lucky... it is still a bad idea to start timers in the root level / level 0... you are saving the timer in the state it was (and luckily, @Gordon wrote the power-up of a saved state to restart the timers...). If your code is a bit more complicated, it may not even upload properly. (Sorry for the 'delayed' response).
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.
@Filip (post #24), you just go lucky... it is still a bad idea to start timers in the root level / level 0... you are saving the timer in the state it was (and luckily, @Gordon wrote the power-up of a saved state to restart the timers...). If your code is a bit more complicated, it may not even upload properly. (Sorry for the 'delayed' response).