• webpack@ani.social
    link
    fedilink
    arrow-up
    4
    ·
    15 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)