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

Editorial: adding ids to individual algorithms of equality semantics #1800

Open
wants to merge 1 commit 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
8 changes: 4 additions & 4 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -14748,15 +14748,15 @@ <h1>Static Semantics: AssignmentTargetType</h1>
<emu-clause id="sec-equality-operators-runtime-semantics-evaluation">
<h1>Runtime Semantics: Evaluation</h1>
<emu-grammar>EqualityExpression : EqualityExpression `==` RelationalExpression</emu-grammar>
<emu-alg>
<emu-alg id="alg-equality-operators-eqeq-runtime-semantics-evaluation">
1. Let _lref_ be the result of evaluating |EqualityExpression|.
1. Let _lval_ be ? GetValue(_lref_).
1. Let _rref_ be the result of evaluating |RelationalExpression|.
1. Let _rval_ be ? GetValue(_rref_).
1. Return the result of performing Abstract Equality Comparison _rval_ == _lval_.
</emu-alg>
<emu-grammar>EqualityExpression : EqualityExpression `!=` RelationalExpression</emu-grammar>
<emu-alg>
<emu-alg id="alg-equality-operators-neqeq-runtime-semantics-evaluation">
1. Let _lref_ be the result of evaluating |EqualityExpression|.
1. Let _lval_ be ? GetValue(_lref_).
1. Let _rref_ be the result of evaluating |RelationalExpression|.
Expand All @@ -14766,15 +14766,15 @@ <h1>Runtime Semantics: Evaluation</h1>
1. If _r_ is *true*, return *false*. Otherwise, return *true*.
</emu-alg>
<emu-grammar>EqualityExpression : EqualityExpression `===` RelationalExpression</emu-grammar>
<emu-alg>
<emu-alg id="alg-equality-operators-eqeqeq-runtime-semantics-evaluation">
1. Let _lref_ be the result of evaluating |EqualityExpression|.
1. Let _lval_ be ? GetValue(_lref_).
1. Let _rref_ be the result of evaluating |RelationalExpression|.
1. Let _rval_ be ? GetValue(_rref_).
1. Return the result of performing Strict Equality Comparison _rval_ === _lval_.
</emu-alg>
<emu-grammar>EqualityExpression : EqualityExpression `!==` RelationalExpression</emu-grammar>
<emu-alg>
<emu-alg id="alg-equality-operators-neqeqeq-runtime-semantics-evaluation">
1. Let _lref_ be the result of evaluating |EqualityExpression|.
1. Let _lval_ be ? GetValue(_lref_).
1. Let _rref_ be the result of evaluating |RelationalExpression|.
Expand Down