0 points

sort array javascript - Google Search


dashboard

Mon Nov 02 2020 13:40:52 GMT+0000 (UTC)

Posted by @ali_alaraby #javascript

var points = [40, 100, 1, 5, 25, 10];
points.sort((a,b) => a-b)
content_copy Copy

https://www.google.com/search?sxsrf