Which IDE version are you using? I made some changes to get a new Esprima, so maybe if you try http://espruino.com/ide then it'll do a better job?
Web IDE version 0.72.1
© Espruino, powered by microcosm.
Report a problem