r/programminghorror
•
u/Leonnee
•
Jun 12 '25
•
1
Javascript Javascript is filled with horror
2.4k
Upvotes
View all comments
Show parent comment
5
u/mediocrobot Jun 12 '25
So your recommendation is to use
Array.prototype.sortinstead ofArray.prototype.toSorted?