Arrow binding

Kevin Smith khs4473 at gmail.com
Mon Apr 23 06:46:31 PDT 2012


I'm not sure I understand the reasoning behind "soft-binding".  If I use
arrow syntax, my intention is to close over |this|.  Allowing a caller to
change the binding of |this| will result in a violation of that closure.
 In this respect, |this| within an arrow function is no different that any
other closed-over variable.  I would not want a caller to be able to
override the binding on any of those variables, right?

kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120423/082408f5/attachment.html>


More information about the es-discuss mailing list