Hacker News new | ask | show | jobs
by acjohnson55 4155 days ago
Lodash is an incredible accomplishment, and having it vastly improves the Javascript authorship process over the standard library.

That being said, I still can't believe we don't have a flatMap:

https://github.com/lodash/lodash/issues/812 https://github.com/jashkenas/underscore/issues/452 (Underscore repo, but still Mr. Dalton, author of Lodash, opposing.)

1 comments

He explained how to add a flatMap in 2 lines in the first linked issue. It sounds pretty trivial to add per app.