Which firmware version are you running this on, and on what device?
I just ran this on the latest builds and it works fine.
However: If you put this in the right-hand side of the web IDE you get loads of errors. I'd fix those first.
Specifically what do you intend to do with this.A_1;/etc? You're just referencing fields that don't exist yet, without setting them to anything.
this.A_1;
@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.
Which firmware version are you running this on, and on what device?
I just ran this on the latest builds and it works fine.
However: If you put this in the right-hand side of the web IDE you get loads of errors. I'd fix those first.
Specifically what do you intend to do with
this.A_1;
/etc? You're just referencing fields that don't exist yet, without setting them to anything.