To answer Brian's question, yes: already discussed an in strawman space on the wiki, awaiting promotion to harmony, maybe for ES7:

http://wiki.ecmascript.org/doku.php?id=strawman:bind_operator

/be

Rick Waldron wrote:



On Fri, Jun 14, 2013 at 4:26 PM, Brian Di Palma <[email protected] <mailto:[email protected]>> 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

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

Reply via email to