On Fri, Mar 18, 2011 at 5:11 PM, John-David Dalton
<john.david.dal...@gmail.com> wrote:
> Extending the Object.prototype is a compatibility nightmare

It was a compatibility nightmare when people didn't namespace, and
when you couldn't make non-enumerable properties.  Using a namespace
for additions to the prototype chain and using ES5's defineProperty to
keep those additions from affecting enumeration behaviour seems like
it overcomes those, at least to me.

Mike
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to