I'm pretty sure that the parent comment's author is aware of this. It does not change the fact that it's broken.
If such a petty and trivial "problem" is what you have against Javascript, then you are basically saying it's a good language :--)
Your creativity as a language designer should only come in to play when dealing with sets of mixed type.
> [1,2,"10",3].sort()
[ 1, '10', 2, 3 ]
That's the problem.