WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 4010380

Browse files
bakkotljharb
authored andcommitted
Markup: coercing primtives to numerics is not user code in IsLessThan (#3281)
1 parent 1b4c6df commit 4010380

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5934,8 +5934,8 @@ <h1>
59345934
1. If _nx_ is *undefined*, return *undefined*.
59355935
1. Return BigInt::lessThan(_nx_, _py_).
59365936
1. NOTE: Because _px_ and _py_ are primitive values, evaluation order is not important.
5937-
1. Let _nx_ be ? ToNumeric(_px_).
5938-
1. Let _ny_ be ? ToNumeric(_py_).
5937+
1. Let _nx_ be ? <emu-meta suppress-effects="user-code">ToNumeric(_px_)</emu-meta>.
5938+
1. Let _ny_ be ? <emu-meta suppress-effects="user-code">ToNumeric(_py_)</emu-meta>.
59395939
1. If Type(_nx_) is Type(_ny_), then
59405940
1. If _nx_ is a Number, then
59415941
1. Return Number::lessThan(_nx_, _ny_).

0 commit comments

Comments
 (0)