B.3.1 The __proto__ pseudo property

Brendan Eich brendan at mozilla.com
Thu May 9 14:51:08 PDT 2013


Jeff Walden wrote:
> On 05/09/2013 10:12 AM, Brendan Eich wrote:
>> Adding an equivalent to the main spec does not cordon off the mis-performing (non-performant?) functionality.
>
> I may have misread, but I had thought there was argument to put Object.setPrototypeOf in Annex B as well.

No, main spec is all that has been discussed and that's the only way to 
relegate __proto__ to Annex B, per past consensus.

> Simply this: don't make ad-hoc inheritance relations where Object.create doesn't fit.

No, as Allen said, such proto-setting is part of the de-facto standard 
language now.

/be


More information about the es-discuss mailing list