r/programminghorror
•
u/Leonnee
•
Jun 12 '25
•
1
Javascript Javascript is filled with horror
2.4k
Upvotes
View all comments
Show parent comment
-14
u/roughstonerollin Jun 12 '25
Exactly, I’ve never used “toSorted” in js, only “sort” and it works as expected