DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
JavaScript Sorting Arrays
var fruits = ["Banana", "Orange", "Apple", "Mango"]; fruits.sort(); // Sorts the elements of fruits
PREVIOUS
NEXT
Tagged:
#JavaScript
#Sorting
#Arrays
ADD COMMENT
Topic
COMMENT
Name
2+4 =
Submit