Answers for "sort en javascript"

0

JavaScript Sorting Arrays

var fruits = ["Banana", "Orange", "Apple", "Mango"];
fruits.sort();        // Sorts the elements of fruits
Posted by: Guest on February-27-2021
-2

sort array

var fruits = ["Banana", "Orange", "Apple", "Mango"];

fruits.sort();
Posted by: Guest on June-10-2021

Browse Popular Code Answers by Language