Automatically binding extracted methods

Rick Waldron waldron.rick at gmail.com
Fri Jun 14 13:50:47 PDT 2013


On Fri, Jun 14, 2013 at 4:26 PM, Brian Di Palma <offler at gmail.com> wrote:

> I suppose a special binding operator has already been discussed and
> discarded?
>
> const functionBoundToclassInstance = classInstance->methodName
>

A thin arrow here will be confusing in the fat-arrow ES6-world-of-tomorrow;
additionally, I'd like to any loose reservation a thin-arrow function that
does not do lexical |this| binding as fat-arrow does.


Rick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130614/2ccbfbdb/attachment.html>


More information about the es-discuss mailing list