Re:Blessed Are the JavaScript Developers
by clktmr on Monday August 31, 2020 @01:45PM
(#24333981)
Well, what would be the expected behavior of sorting an untyped array?
[ Parent
| on HN ]
Using whatever the built-in '<' operator does would be more natural than converting to strings just for sort().