Changing [[Prototype]]

Andreas Rossberg rossberg at
Fri Dec 28 05:34:18 PST 2012

On 28 December 2012 13:34, Herby Vojčík <herby at> wrote:

>  Andreas Rossberg wrote:
>> That's a good point, actually. I, for one, do not understand the
>> criteria by which we chose to include __proto__ but not __defineGetter__
>> and friends.
> __defineGetter__ and friends have sane alternative, mutable __proto__
> hasn't?

The argument for including __proto__ has been existing practice, and AFAICS
that applies to the others no less. The alternatives to __proto__ are
Object.create and Object.getPrototypeOf, which arguably cover the "sane"
use cases.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list