ended7월 5일· 1 sources
Javascript Array sort method challenges
Why it matters
Numeric Sort By default, the sort() function sorts values as strings. This works well for strings ("Apple" comes before "Banana"). If numbers are sorted as strings, "25" is bigger than "100", because ...
1
Sources
+0
24h
—
Growth
3d
Active