arrows and a proposed softCall

Andreas Rossberg rossberg at
Tue Jun 5 01:43:42 PDT 2012

On 5 June 2012 00:56, Anton Kovalyov <ml at> wrote:
> On Monday, June 4, 2012 at 3:10 PM, Yehuda Katz wrote:
> It's too late for jQuery to fix the order now. However, in the face of
> arrows or bound functions, we probably could detect a user intent to use
> `this` for their own purposes and use that as a signal to change the order.
> If I read the code correctly, it means that the same method will have
> different signatures depending on the function form: $("*").each(function
> (i, item) { … }); vs. $("*").each((item, i) => { … })
> If so, I think it will be _very_ confusing.

+1. If anything, I view this example as an argument in favour of _not_
providing isBound.


More information about the es-discuss mailing list