Thanks! Yes, that looks like a big problem. I'll look into it - and thanks for coming up with the code that demonstrates it so nicely.
Array indices should that can be integers should be converted to ints. It looks like when you put a string in a variable, for some reason it doesn't get converted.
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! Yes, that looks like a big problem. I'll look into it - and thanks for coming up with the code that demonstrates it so nicely.
Array indices should that can be integers should be converted to ints. It looks like when you put a string in a variable, for some reason it doesn't get converted.