Bound instance-function vending (was RE: Arrow binding)

Brendan Eich brendan at mozilla.org
Sat Apr 28 19:40:34 PDT 2012


Tab Atkins Jr. wrote:
> This should rightly use 'function' (which is meant for methods), or
> eventually use a mixin syntax.

See the version Kevin did using Object.extend and method definition 
shorthand:

https://gist.github.com/2523106

/be


More information about the es-discuss mailing list