B.3.1 The __proto__ pseudo property

Allen Wirfs-Brock allen at wirfs-brock.com
Wed May 8 15:51:09 PDT 2013


On May 8, 2013, at 2:05 PM, Brendan Eich wrote:

> Having Object.setPrototypeOf to match Object.getPrototypeOf is nice, better for proxies (with necessary changes to them), and polyfillable.
> 
> Take my last note as an attitude adjustment, though. So long as __proto__ endures, its brevity and legacy uses will tend to propagate its use into the future.
> 
> In that light, pushing everything but the object literal __proto__ special form into Annex B still rubs me the wrong way. I'd do both O.p.__proto__ and the special form in the main spec, or both in Annex B (to make Andreas happy ;-). Not split them up.

Putting them both in Annex B is my proposal, as of my 8:41 AM message.

Allen


More information about the es-discuss mailing list