It'll then execute that code even after a call to reset() - so as long as the IDE isn't set to save on send the Puck's name will always be what you set it to, even after an update that doesn't contain that line.
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.
Great! You can also just type this on the left-hand side:
It'll then execute that code even after a call to
reset()
- so as long as the IDE isn't set tosave on send
the Puck's name will always be what you set it to, even after an update that doesn't contain that line.