News for hackers. Stuff that matters.
Re:Fun with JavaScript Arrays by clux on Wednesday June 12, 2013 @06:31AM (#5867397)
The default lexicographical sort order on an array of integers is unexpected, yes.
Re:Fun with JavaScript Arrays by hcarvalhoalves on Wednesday June 12, 2013 @05:22PM (#5870836)
Specially given the fact value-ordering is also lexicographical for the ASCII set, and for Unicode it gets it wrong anyway.