Ahh, so the problem is that the NRF.restart callback was only added in Espruino after the 2v08 release. If you install a cutting edge build from https://www.espruino.com/binaries/travis/master/ then you should be fine (or 2v09 or later when they are released!).
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.
Ahh, so the problem is that the
NRF.restart
callback was only added in Espruino after the 2v08 release. If you install a cutting edge build from https://www.espruino.com/binaries/travis/master/ then you should be fine (or 2v09 or later when they are released!).