The only disadvantage is that because right now Espruino doesn't treat let as 'scoped', if you minify the code, occasionally the minifier can make optimisations that break the code :(
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.
The only disadvantage is that because right now Espruino doesn't treat
let
as 'scoped', if you minify the code, occasionally the minifier can make optimisations that break the code :(