The first one is correct - I've been trying to use the second for new things as it is much more readable, but this particular bit of Espruino still uses the old way
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.
And it works now?
The first one is correct - I've been trying to use the second for new things as it is much more readable, but this particular bit of Espruino still uses the old way