minus-squarewebpack@ani.socialtoProgrammer Humor@programming.dev•Early accesslinkfedilinkarrow-up4arrow-down1·5 days agolist.toSorted() vs list.map(word => word.toSorted()) (note that you can’t actually do string.toSorted() in js you have to convert into a list and back) linkfedilink
list.toSorted()vslist.map(word => word.toSorted())(note that you can’t actually do string.toSorted() in js you have to convert into a list and back)