r/programminghorror
•
u/Leonnee
•
Jun 12 '25
•
1
Javascript Javascript is filled with horror
2.4k
Upvotes
View all comments
Show parent comment
-2
u/roughstonerollin Jun 12 '25
That was my recommendation, but I was wrong. This bug exists in both the "sort" and "toSorted" methods, it cannot natively handle integers