I try use promise, but it's work strange
This looks like a bug - I've filed one for the issue here: https://github.com/espruino/Espruino/issues/1433
Looks like we didn't test for that as all code I've seen to date just calls one of the other - not both.
And what about async\await?
No, they're not implemented on Espruino.
@Gordon started
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.
This looks like a bug - I've filed one for the issue here: https://github.com/espruino/Espruino/issues/1433
Looks like we didn't test for that as all code I've seen to date just calls one of the other - not both.
No, they're not implemented on Espruino.