DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
js sort letters
letterArr.sort(); // OR letterArr.sort( (a,b) => { return a<b ? -1 : 1; });
Source by developer.mozilla.org #
PREVIOUS
NEXT
Tagged:
#js
#sort
#letters
ADD COMMENT
Topic
COMMENT
Name
2+3 =
Submit