This might help. http://forum.espruino.com/conversations/286139/#comment12965959
The syntax is different on different implementations for some reason.
Thanks for this i shall look through this also
@Ollie 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.
This might help.
http://forum.espruino.com/conversations/286139/#comment12965959
The syntax is different on different implementations for some reason.