Skip to content

Commit 6f80175

Browse files
committed
Normative: new Annex B.3 clause to specify "AssignmentTargetType of LeftHandSideExpression : CallExpression" web reality.
1 parent e4679d4 commit 6f80175

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

spec.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43166,6 +43166,22 @@ <h1>Changes to the `typeof` Operator</h1>
4316643166
</emu-table>
4316743167
</emu-annex>
4316843168
</emu-annex>
43169+
<emu-annex id="sec-assignmenttargettype-lefthandsideexpression-callexpression-arguments-invalid">
43170+
<h1>AssignmentTargetType of LeftHandSideExpression : CallExpression</h1>
43171+
<p>The following Runtime Semantics rules are appended to the content of subclause <emu-xref href="#sec-assignment-operators-runtime-semantics-evaluation"></emu-xref>:</p>
43172+
<emu-grammar>AssignmentExpression : LeftHandSideExpression = AssignmentExpression</emu-grammar>
43173+
<ol>
43174+
<li>
43175+
If AssignmentTargetType of |LeftHandSideExpression| is not ~simple~, throw a *ReferenceError* exception.
43176+
</li>
43177+
</ol>
43178+
<emu-grammar>AssignmentExpression : LeftHandSideExpression AssignmentOperator AssignmentExpression</emu-grammar>
43179+
<ol>
43180+
<li>
43181+
If AssignmentTargetType of |LeftHandSideExpression| is not ~simple~, throw a *ReferenceError* exception.
43182+
</li>
43183+
</ol>
43184+
</emu-annex>
4316943185
</emu-annex>
4317043186
</emu-annex>
4317143187

0 commit comments

Comments
 (0)