Maybe you could also connect with the Web IDE and try and reproduce it - it's possible it is giving you some error
@Gordon started
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.
Maybe you could also connect with the Web IDE and try and reproduce it - it's possible it is giving you some error