Skip to content

Commit

Permalink
Markup: coercing primtives to numerics is not user code in IsLessThan (
Browse files Browse the repository at this point in the history
  • Loading branch information
bakkot authored and ljharb committed Feb 16, 2024
1 parent 1b4c6df commit 4010380
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -5934,8 +5934,8 @@ <h1>
1. If _nx_ is *undefined*, return *undefined*.
1. Return BigInt::lessThan(_nx_, _py_).
1. NOTE: Because _px_ and _py_ are primitive values, evaluation order is not important.
1. Let _nx_ be ? ToNumeric(_px_).
1. Let _ny_ be ? ToNumeric(_py_).
1. Let _nx_ be ? <emu-meta suppress-effects="user-code">ToNumeric(_px_)</emu-meta>.
1. Let _ny_ be ? <emu-meta suppress-effects="user-code">ToNumeric(_py_)</emu-meta>.
1. If Type(_nx_) is Type(_ny_), then
1. If _nx_ is a Number, then
1. Return Number::lessThan(_nx_, _ny_).
Expand Down

0 comments on commit 4010380

Please sign in to comment.