I think this is probably an FAQ and in the Quick Start guide, but type save() on the left-hand side :)
Once done everything is reloaded as it was, but sometimes you want to do stuff when the board powers on, so you need to put it in a function called onInit()
Thanks, Gordon. I did go through the FAQ's, it's not there. I might have looked through the quick start guide, can't remember, but you're right that it's explained there.
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.
I think this is probably an FAQ and in the Quick Start guide, but type
save()
on the left-hand side :)Once done everything is reloaded as it was, but sometimes you want to do stuff when the board powers on, so you need to put it in a function called
onInit()