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 a1693ff

Browse files
michaelficarraljharb
authored andcommitted
Editorial: replace "is at least" with ≥ in parseInt (#3608)
1 parent be305fc commit a1693ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29976,7 +29976,7 @@ <h1>parseInt ( _string_, _radix_ )</h1>
2997629976
1. Else,
2997729977
1. Set _R_ to 10.
2997829978
1. If _stripPrefix_ is *true*, then
29979-
1. If the length of _S_ is at least 2 and the first two code units of _S_ are either *"0x"* or *"0X"*, then
29979+
1. If the length of _S_ 2 and the first two code units of _S_ are either *"0x"* or *"0X"*, then
2998029980
1. Set _S_ to the substring of _S_ from index 2.
2998129981
1. Set _R_ to 16.
2998229982
1. If _S_ contains a code unit that is not a radix-_R_ digit, let _end_ be the index within _S_ of the first such code unit; otherwise let _end_ be the length of _S_.

0 commit comments

Comments
 (0)