Just fixed - turns out if you add the static vars after the constructor it's fine.
static
... but I'd still do as I said above and it'll work in 2v21 and earlier
@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.
Just fixed - turns out if you add the
static
vars after the constructor it's fine.... but I'd still do as I said above and it'll work in 2v21 and earlier