Well done getting it finished.
Take a look here:
http://www.espruino.com/Internals And http://www.espruino.com/Performance
If you shorten your vars to to 4 bytes they are stored as one jsvar.
You debug comments are over multiple lines - console.log can write out an object, so you don't need to dump each of the keys.
@Wilberforce 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.
Well done getting it finished.
Take a look here:
http://www.espruino.com/Internals And http://www.espruino.com/Performance
If you shorten your vars to to 4 bytes they are stored as one jsvar.
You debug comments are over multiple lines - console.log can write out an object, so you don't need to dump each of the keys.