Skip to content

Commit

Permalink
Editorial: quick fixes for PR tc39#2874 (tc39#2885)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmdyck authored and ljharb committed Sep 2, 2022
1 parent f2aed96 commit 3cf8e30
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -6059,7 +6059,7 @@ <h1>
</dl>
<emu-alg>
1. Assert: Type(_x_) is the same as Type(_y_).
1. If Type(_x_) is BigInt, then
1. If _x_ is a BigInt, then
1. Return BigInt::equal(_x_, _y_).
1. If _x_ is *undefined*, return *true*.
1. If _x_ is *null*, return *true*.
Expand Down Expand Up @@ -6160,7 +6160,7 @@ <h1>
1. If _x_ is a String and _y_ is a BigInt, return ! IsLooselyEqual(_y_, _x_).
1. If _x_ is a Boolean, return ! IsLooselyEqual(! ToNumber(_x_), _y_).
1. If _y_ is a Boolean, return ! IsLooselyEqual(_x_, ! ToNumber(_y_)).
1. If _x_ is a either String, Number, BigInt, or Symbol and _y_ is an Object, return ! IsLooselyEqual(_x_, ? ToPrimitive(_y_)).
1. If _x_ is either a String, a Number, a BigInt, or a Symbol and _y_ is an Object, return ! IsLooselyEqual(_x_, ? ToPrimitive(_y_)).
1. If _x_ is an Object and _y_ is either a String, a Number, a BigInt, or a Symbol, return ! IsLooselyEqual(? ToPrimitive(_x_), _y_).
1. If _x_ is a BigInt and _y_ is a Number, or if _x_ is a Number and _y_ is a BigInt, then
1. If _x_ or _y_ are any of *NaN*, *+&infin;*<sub>𝔽</sub>, or *-&infin;*<sub>𝔽</sub>, return *false*.
Expand Down Expand Up @@ -15378,7 +15378,7 @@ <h1>
1. If _trap_ is *undefined*, then
1. Return ? <emu-meta effects="user-code">_target_.[[GetOwnProperty]]</emu-meta>(_P_).
1. Let _trapResultObj_ be ? Call(_trap_, _handler_, &laquo; _target_, _P_ &raquo;).
1. If _trapResultObj_ is not an Object and _trapResultOb_ is not *undefined*, throw a *TypeError* exception.
1. If _trapResultObj_ is not an Object and _trapResultObj_ is not *undefined*, throw a *TypeError* exception.
1. Let _targetDesc_ be ? <emu-meta effects="user-code">_target_.[[GetOwnProperty]]</emu-meta>(_P_).
1. If _trapResultObj_ is *undefined*, then
1. If _targetDesc_ is *undefined*, return *undefined*.
Expand Down

0 comments on commit 3cf8e30

Please sign in to comment.