@Alex: I've just created an issue for this: https://github.com/espruino/Espruino/issues/318
I'm not 100% sure when it will come - will you need to bind arguments, or just this?
this
If you don't need args, you can always workaround it for now by doing:
Function.prototype.bind = function(thisArg) { var f = this; return function() { return f.apply(thisArg, arguments); }; };
@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.
@Alex: I've just created an issue for this: https://github.com/espruino/Espruino/issues/318
I'm not 100% sure when it will come - will you need to bind arguments, or just
this
?If you don't need args, you can always workaround it for now by doing: