Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on JavaScript Promises Discussion: Make Them Monadic? (2013). Parent comment
map is understood in javascript.
So you 'just' need to make the leap to flatmap. Which is mapping something and flattening the result.
So still you need to learn is what flatten is. But that's not too hard to learn.
Try the funfunfunction video [0]
[0]: https://m.youtube.com/watch?v=9QveBbn7t_c
There are no comments on this comment yet.
map is understood in javascript.
So you 'just' need to make the leap to flatmap. Which is mapping something and flattening the result.
So still you need to learn is what flatten is. But that's not too hard to learn.
Try the funfunfunction video [0]
[0]: https://m.youtube.com/watch?v=9QveBbn7t_c