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.

Anton  

_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to