DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
sort numbers in array javascript
function sortNumber(a, b) { return a - b; } Arr.sort(sortNumber);
Source by developer.mozilla.org #
PREVIOUS
NEXT
Tagged:
#sort
#numbers
#array
#javascript
ADD COMMENT
Topic
COMMENT
Name
5+6 =
Submit