The issue may actually be more widespread - because I guess if you eval([1,2,undefined,3]) you will have similar issues as well. It might be that we need to add a 'JSONish' parser and then use the E.toJS function in Espruino to convert the data.
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 - that's great. Just filed an issue for it here: https://github.com/espruino/EspruinoWebTools/issues/7
The issue may actually be more widespread - because I guess if you
eval([1,2,undefined,3])
you will have similar issues as well. It might be that we need to add a 'JSONish' parser and then use theE.toJS
function in Espruino to convert the data.