1021
Early access (feddit.org)
you are viewing a single comment's thread
view the rest of the comments
[-] webpack@ani.social 4 points 3 weeks 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)

this post was submitted on 01 Feb 2026
1021 points (100.0% liked)

Programmer Humor

30053 readers
1760 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS