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

Brendan Eich brendan at mozilla.org
Sat Apr 28 12:35:21 PDT 2012


Kevin Smith wrote:
> 2.) For mixin stuff like your example, I think the elegant solution is 
> "object literal extension" syntax:
>
> https://gist.github.com/2521128
>
> I'm not sure of the status of that syntax, but hopefully it will get 
> included in ES6.

What if the ES6 solution were a standardized Object.extend, instead?

/be


More information about the es-discuss mailing list