You are viewing a single thread.
View all comments 7 points
I couldn’t believe it, tried it out, what the actual heck? I mean I get all these weird string vs number comparison but sorting actual numbers and this comes out? What kind of drugs were the designers of javascript (or at least this function) on… Who thought it was a good idea to sort numbers lexicographically??
1 point
5 points
Probably meth or cocaine, considering js was written by a single person in 10 days