JSFiddle - React, Tailwind, and code Playground

by eget teteete

JavaScript

let f = [1, 4, 4, 4, 45,88,13];
function sorts(a, b){
return a + b;
}
let i = f.sort(sorts)
alert()