Yes, that's perfect - thanks! This looks like an internal interpreter problem then - but I'm amazingly surprised something like this has surfaced, since it would appear to be such a common thing to do.
I'll take a look at this today and see if I can figure out what's wrong.
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.
Yes, that's perfect - thanks! This looks like an internal interpreter problem then - but I'm amazingly surprised something like this has surfaced, since it would appear to be such a common thing to do.
I'll take a look at this today and see if I can figure out what's wrong.