arrow function syntax simplified
brendan at mozilla.org
Thu Mar 29 12:35:03 PDT 2012
Herby Vojčík wrote:
> Isn't also answer to "5.":
> Q: Will foo.call, foo.apply pass in the `this` ?
> A: Yes, see above.
> changed? Or is lexical bound this working only for default this, but
> not for call and apply?
Yes, I addressed that in the update to
Indeed lexical |this| means you can't pass a wrong-this even via .call
or .apply. Thanks,
More information about the es-discuss