would like Promise.flatMap to exist
-
-
I think the JS one has a specifiable depth but I can never remember how it works across different languages and data structures; I just think it's an over-complicated function
-
Apparently it removes "array holes" which I did not know was a thing until right now. Apparently `[1, , 2]` is a thing (and is not the same as `[1, undefined, 2]`)
- 13 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.