Check out this other post: http://forum.espruino.com/conversations/573/
There isn't a way to do this properly right now, but you can always just use eval. Ideally you would just put the 3 LEDs in your own array though.
eval
@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.
Check out this other post: http://forum.espruino.com/conversations/573/
There isn't a way to do this properly right now, but you can always just use
eval
. Ideally you would just put the 3 LEDs in your own array though.