node-learnin'

14 thoughts
last posted June 27, 2015, 9:24 p.m.

13 later thoughts

0

I had to test this to make sure it was true before saying... go home JavaScript... you're drunk.

10:55:57 🌵 node
> var test = [1, 2, 3, 11, 15, 21, 10]
undefined
> test.sort()
[ 1,
  10,
  11,
  15,
  2,
  21,
  3 ]