Why we need to clean up __proto__

Andreas Rossberg rossberg at google.com
Mon Jan 2 04:12:05 PST 2012


On 30 December 2011 00:00, Mark S. Miller <erights at google.com> wrote:
> {__proto__:...} having a magic meaning is per code, and so can and should be
> conditioned on mode. I think it should only be allowed to be magic in
> non-strict mode.

What about {["__proto__"]: ...} then?

/Andreas


More information about the es-discuss mailing list