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 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 JSON.parse (see step <emu-xref href="#step-json-parse-parse"></emu-xref> of <emu-xref href="#sec-json.parse">JSON.parse</emu-xref>).
18427
+
</li>
18428
+
</ul>
18429
+
<emu-note>
18430
+
<p>The List returned by PropertyNameList does not include property names defined using a |ComputedPropertyName|.</p>
@@ -18434,19 +18447,6 @@ <h1>Static Semantics: Early Errors</h1>
18434
18447
<emu-note>
18435
18448
<p>This production exists so that |ObjectLiteral| can serve as a cover grammar for |ObjectAssignmentPattern|. It cannot occur in an actual object initializer.</p>
18436
18449
</emu-note>
18437
-
<emu-grammar>
18438
-
ObjectLiteral :
18439
-
`{` PropertyDefinitionList `}`
18440
-
`{` PropertyDefinitionList `,` `}`
18441
-
</emu-grammar>
18442
-
<ul>
18443
-
<li>
18444
-
It is a Syntax Error if 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 JSON.parse (see step <emu-xref href="#step-json-parse-parse"></emu-xref> of <emu-xref href="#sec-json.parse">JSON.parse</emu-xref>).
18445
-
</li>
18446
-
</ul>
18447
-
<emu-note>
18448
-
<p>The List returned by PropertyNameList does not include property names defined using a |ComputedPropertyName|.</p>
0 commit comments