You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is a Syntax Error if the PropertyNameList of |PropertyDefinitionList| contains any duplicate entries for *"__proto__"* and at least two of those entries were obtained from productions of the form <emu-grammar>PropertyDefinition : PropertyName `:` AssignmentExpression</emu-grammar>. This rule is not applied if this |ObjectLiteral| is contained within a |Script| that is being parsed for ParseJSON (see step <emu-xref href="#step-json-parse-parse"></emu-xref> of ParseJSON).
18648
+
</li>
18649
+
</ul>
18650
+
<emu-note>
18651
+
<p>The List returned by PropertyNameList does not include property names defined using a |ComputedPropertyName|.</p>
@@ -18655,19 +18668,6 @@ <h1>Static Semantics: Early Errors</h1>
18655
18668
<emu-note>
18656
18669
<p>This production exists so that |ObjectLiteral| can serve as a cover grammar for |ObjectAssignmentPattern|. It cannot occur in an actual object initializer.</p>
18657
18670
</emu-note>
18658
-
<emu-grammar>
18659
-
ObjectLiteral :
18660
-
`{` PropertyDefinitionList `}`
18661
-
`{` PropertyDefinitionList `,` `}`
18662
-
</emu-grammar>
18663
-
<ul>
18664
-
<li>
18665
-
It is a Syntax Error if the PropertyNameList of |PropertyDefinitionList| contains any duplicate entries for *"__proto__"* and at least two of those entries were obtained from productions of the form <emu-grammar>PropertyDefinition : PropertyName `:` AssignmentExpression</emu-grammar>. This rule is not applied if this |ObjectLiteral| is contained within a |Script| that is being parsed for ParseJSON (see step <emu-xref href="#step-json-parse-parse"></emu-xref> of ParseJSON).
18666
-
</li>
18667
-
</ul>
18668
-
<emu-note>
18669
-
<p>The List returned by PropertyNameList does not include property names defined using a |ComputedPropertyName|.</p>
0 commit comments