Thanks for checking this out - just tried on the WiFi and I get the same. It seems there's a bit more to it than I'd imagined if different platforms behave differently with it (ideally they shouldn't).
The code all looks a bit nasty anyway, so I'll see what I can do to rewrite it and I'll see if I can get it any better.
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.
Thanks for checking this out - just tried on the WiFi and I get the same. It seems there's a bit more to it than I'd imagined if different platforms behave differently with it (ideally they shouldn't).
The code all looks a bit nasty anyway, so I'll see what I can do to rewrite it and I'll see if I can get it any better.