You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • @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:

    Function.prototype.bind = function(thisArg) {
      var f = this;
      return function() { return f.apply(thisArg, arguments); };
    };
    
About

Avatar for Gordon @Gordon started