Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Normative: new Annex B.3 clause to specify "AssignmentTargetType of LeftHandSideExpression : CallExpression" web reality. #2193

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -43165,6 +43165,22 @@ <h1>Changes to the `typeof` Operator</h1>
</emu-table>
</emu-annex>
</emu-annex>
<emu-annex id="sec-assignmenttargettype-lefthandsideexpression-callexpression-arguments-invalid">
<h1>AssignmentTargetType of LeftHandSideExpression : CallExpression</h1>
<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>
<emu-grammar>AssignmentExpression : LeftHandSideExpression = AssignmentExpression</emu-grammar>
<ol>
<li>
If AssignmentTargetType of |LeftHandSideExpression| is not ~simple~ and occurs in non-strict code, throw a *ReferenceError* exception.
</li>
</ol>
<emu-grammar>AssignmentExpression : LeftHandSideExpression AssignmentOperator AssignmentExpression</emu-grammar>
<ol>
<li>
If AssignmentTargetType of |LeftHandSideExpression| is not ~simple~ and occurs in non-strict code, throw a *ReferenceError* exception.
</li>
</ol>
</emu-annex>
</emu-annex>
</emu-annex>

Expand Down