> -----Original Message-----
> From: [email protected] [mailto:es-discuss-
> [email protected]] On Behalf Of Allen Wirfs-Brock
> Sent: Friday, June 01, 2012 04:05
> We haven't eliminated the ability to define object literals that inherit
> from objects other than Object.prototype. We have just changed the
> syntax for specifying them from:
> proto <| {}
> to
> {__proto__: proto}
For anyone who (like me) was confused by this in light of all the talk that
colons in object literals always do a [[DefineOwnProperty]], there is an
exemption made for __proto__ in section B.3.1.3 of the latest spec.
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss