Standardizing __proto__
Mike Shaver
mike.shaver at gmail.com
Fri Mar 18 17:14:37 PDT 2011
On Fri, Mar 18, 2011 at 5:11 PM, John-David Dalton
<john.david.dalton at 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
More information about the es-discuss
mailing list