Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

JavaScript Sorting Arrays

var fruits = ["Banana", "Orange", "Apple", "Mango"];
fruits.sort();        // Sorts the elements of fruits
Source by www.javascripttutorial.net #
 
PREVIOUS NEXT
Tagged: #JavaScript #Sorting #Arrays
ADD COMMENT
Topic
Name
8+5 =