Answers for "js sort ascendign"

2

js sort ascendign

var points = [40, 100, 1, 5, 25, 10];
points.sort(function(a, b){return a-b});
Posted by: Guest on October-08-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language