4 ms·
Here's a half baked explanation, as in just the flatmap part. map is understood in javascript. So you 'just' need to make the leap to flatmap. Which is mappin
by icc97 9y ago
Here's a half baked explanation, as in just the flatmap part.
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 https://m.youtube.com/watch?v=9QveBbn7t_c