698
Node Modules (lemmy.ml)
you are viewing a single comment's thread
view the rest of the comments
[-] mindbleach@sh.itjust.works 1 points 22 hours ago

Lodash provides modular methods for working with arrays, objects, strings, and more.

I dunno. If it makes everything Array-like act like a goddamn Array, I'm tempted to start using it.

'What do you mean you can't .map a Set? It's iterable! Figure it out!'

[-] vithigar@lemmy.ca 2 points 20 hours ago

You can though? mySet.values().map(mappingFunc) will create a new iterator transformed by the mapping function.

this post was submitted on 16 May 2025
698 points (99.2% liked)

Programmer Humor

23310 readers
1074 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