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 JSON.parse (see step <emu-xref href="#step-json-parse-parse"></emu-xref> of <emu-xref href="#sec-json.parse">JSON.parse</emu-xref>).
18417
+
</li>
18418
+
</ul>
18419
+
<emu-note>
18420
+
<p>The List returned by PropertyNameList does not include property names defined using a |ComputedPropertyName|.</p>
@@ -18424,19 +18437,6 @@ <h1>Static Semantics: Early Errors</h1>
18424
18437
<emu-note>
18425
18438
<p>This production exists so that |ObjectLiteral| can serve as a cover grammar for |ObjectAssignmentPattern|. It cannot occur in an actual object initializer.</p>
18426
18439
</emu-note>
18427
-
<emu-grammar>
18428
-
ObjectLiteral :
18429
-
`{` PropertyDefinitionList `}`
18430
-
`{` PropertyDefinitionList `,` `}`
18431
-
</emu-grammar>
18432
-
<ul>
18433
-
<li>
18434
-
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 JSON.parse (see step <emu-xref href="#step-json-parse-parse"></emu-xref> of <emu-xref href="#sec-json.parse">JSON.parse</emu-xref>).
18435
-
</li>
18436
-
</ul>
18437
-
<emu-note>
18438
-
<p>The List returned by PropertyNameList does not include property names defined using a |ComputedPropertyName|.</p>
0 commit comments