They're not stored as flat arrays - more of a linked list - See http://www.espruino.com/Performance and http://www.espruino.com/Internals - and the actual JsVar struct declaration
That's why it's important to iterate over the data rather than accessing individual elements...
@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.
They're not stored as flat arrays - more of a linked list - See http://www.espruino.com/Performance and http://www.espruino.com/Internals - and the actual JsVar struct declaration
That's why it's important to iterate over the data rather than accessing individual elements...