@Gordon, thanks... I'm obviously damaged by working for too long for too much in lowest-common-(browser-)denominator settings... ;)
With these extra parameters, a plain, naked function reference can be used. If this is needed in it, a myFunction.bind(thisContext) eliminates the need for an extra anonymous functions ...
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.
@Gordon, thanks... I'm obviously damaged by working for too long for too much in lowest-common-(browser-)denominator settings... ;)
With these extra parameters, a plain, naked function reference can be used. If this is needed in it, a myFunction.bind(thisContext) eliminates the need for an extra anonymous functions ...