• webpack@ani.social
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    9 hours ago

    list.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)