As far as I can tell, don't you just want to do:
var a = this.getSensorAddress();
instead of:
var a = this.getSensorAddress;
That will execute the function on this, returning the address itself.
this
@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.
As far as I can tell, don't you just want to do:
instead of:
That will execute the function on
this
, returning the address itself.