B.3.1 The __proto__ pseudo property

Allen Wirfs-Brock allen at wirfs-brock.com
Wed May 8 08:41:02 PDT 2013

On May 8, 2013, at 8:31 AM, Mark Miller wrote:

> What about your triangle argument?

There is another way:

let obj = Object.setPrototypeOf({x:0, y:0}, pointProto};

Let's keep {__proto__: foo} in the slightly  disrespectable  Annex B box.  That keeps it together with O.p.__proto and leaves room for future, more elegant object literal syntax extensions if we decided we really need them (and we probably won't).


More information about the es-discuss mailing list