Question regarding duplicate __proto__ properties

Nicholas C. Zakas standards at nczconsulting.com
Sat Nov 29 15:38:26 PST 2014


In Rev 28, B.3.1 it states:

  *

    It is a Syntax Error
    ifPropertyNameListofPropertyDefinitionListcontains any duplicate
    entries for|"__proto__"|and at least two of those entries were
    obtained from productions of the
    formPropertyDefinition:PropertyName|:|AssignmentExpression.

I noted that the duplicate name restriction was eliminated back in 
July[1] and was just wondering if __proto__ is indeed a special case?

Thanks.

[1] 
https://github.com/rwaldron/tc39-notes/blob/46d2396e02fd73121b5985d5a0fafbcdbf9c9072/es6/2014-07/jul-29.md#41-review-latest-draft 


-- 
___________________________
Nicholas C. Zakas
http://www.nczonline.net

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20141129/4c74a447/attachment.html>


More information about the es-discuss mailing list