Javascript WTF

A site where we can all share in those little WTF moments we enjoy with Javascript


Numbers get sorted alphabetically

> [10, 9, 8, 3, 2, 1, 0].sort()
[ 0, 1, 10, 2, 3, 8, 9 ]