Re:Math.min(Math.max(num, min), max)
by TimTheTinker on Thursday August 20, 2020 @01:18PM
(#24225767)
"lexicographically" is a better descriptor than "alphabetically", since it's sorting by UTF-8 code point value.
[ Parent
| on HN ]
Re:Math.min(Math.max(num, min), max)
by edflsafoiewq on Thursday August 20, 2020 @02:01PM
(#24226341)
It sorts by UTF-16 code unit.
Re:Math.min(Math.max(num, min), max)
by TimTheTinker on Thursday August 20, 2020 @02:34PM
(#24226808)
Of course, my bad.