showing results for - "sorting an array"
Arianna
20 Aug 2018
1
2const fruits = ["Banana", "Orange", "Apple", "Mango"];
3
4fruits.sort();        // Sorts the elements of fruits
5 
similar questions
queries leading to this page
sorting an array