alphacyberranger@sh.itjust.works to Programmer Humor@programming.dev · 1 year agoI'll just sort it myselfsh.itjust.worksimagemessage-square48fedilinkarrow-up1921arrow-down112
arrow-up1909arrow-down1imageI'll just sort it myselfsh.itjust.worksalphacyberranger@sh.itjust.works to Programmer Humor@programming.dev · 1 year agomessage-square48fedilink
minus-squareSpyingEnvy@lemm.eelinkfedilinkarrow-up2·1 year agoOne hundred percent how I do it everytime.
arr.sort((a, b) => a - b);
One hundred percent how I do it everytime.