minus-squarevalourvalkyria@lemmy.worldtoProgrammer Humor@programming.dev•JavaScript always know my truest of desireslinkfedilinkarrow-up1·1 year agoIirc Array.sort requires you to pass a function in, or it casts into strings and sort them. linkfedilink
Iirc Array.sort requires you to pass a function in, or it casts into strings and sort them.