Ah, that's because you're using an arrow function, this is only bound to "real" functions:
this
update: function(time, changed) { this.precision = 1; // this works }
aaaahn, understood! I'm not a Javascript expert, I thought they were the same thing!
@Alessandro 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.
Ah, that's because you're using an arrow function,
this
is only bound to "real" functions: