B.3.1 The __proto__ pseudo property

David Bruant bruant.d at gmail.com
Tue Apr 23 06:40:09 PDT 2013

Le 23/04/2013 15:30, Allen Wirfs-Brock a écrit :
>> * { [ "__proto__" ]: .... } is not special in any way, and creates a normal property named "__proto__".
> I don't believe this is legal. Didn't we agree w to support [ ] property keys that evaluate to symbols.
I don't know what the agreement is, but that would be wise to forbid 
strings in [ ] propert keys given that ES6 introduces Maps which seem to 
be a better host for dynamically generated string keys.


More information about the es-discuss mailing list