Answers for "how do i use sort function in 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

Code answers related to "how do i use sort function in javascript"

Browse Popular Code Answers by Language