array.sort() Does Not Simply Sort Numbers in JavaScript

array.sort() method, when invoked without arguments, doesn’t sort numbers as you might expect.

array.sort() method, when invoked without arguments, doesn't sort numbers as you might expect.
Print Share Comment Cite Upload Translate
CITATION GOES HERE CITATION GOES HERE
Select a language: