bind operator (was: arrow function syntax simplified)

Kevin Smith khs4473 at gmail.com
Wed Mar 28 12:17:26 PDT 2012


I'm not sure how to quantify this, but I believe that if such a bind
operator were available, it would be overwhelmingly be used to simulate
lexical |this|.

If syntax is about optimizing the common case, then shouldn't we just
provide a function form which lexically binds |this|?

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


More information about the es-discuss mailing list