Thanks - that's interesting! Just looked into this and it seems that after the Promise code was refactored it can't have been tested on the emulator itself, so Promises have probably been broken in the Emulator since April.
I've just pushed an update to the emulators, so if you refresh now the emulator should report as version 2v24.25 and it should be fixed.
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.
Hi,
Thanks - that's interesting! Just looked into this and it seems that after the Promise code was refactored it can't have been tested on the emulator itself, so Promises have probably been broken in the Emulator since April.
I've just pushed an update to the emulators, so if you refresh now the emulator should report as version 2v24.25 and it should be fixed.