Please could you provide the exact code that gives you the error? I just tried this and it works fine for me with identical firmware on the same device:
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.
Please could you provide the exact code that gives you the error? I just tried this and it works fine for me with identical firmware on the same device: