r/programminghorror
•
u/Leonnee
•
Jun 12 '25
•
1
Javascript Javascript is filled with horror
2.4k
Upvotes
View all comments
99
u/examinedliving Jun 12 '25
[1,3,10,2].sort((a,b)=>a-b);