On 28 December 2012 13:34, Herby Vojčík <he...@mailbox.sk> 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. /Andreas
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss