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
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to