js sort asendenet

Solutions on MaxInterview for js sort asendenet by the best coders in the world

showing results for - "js sort asendenet"
Sara Sofía
29 May 2017
1var points = [40, 100, 1, 5, 25, 10];
2points.sort(function(a, b){return a-b});