Re:Flatten Arrays in Vanilla JavaScript with Flat() and Flat...
by Tuna-Fish on Wednesday January 05, 2022 @12:45PM
(#29812248)
For a lot of common cases (where the returned lists from the fn are short, but the complete list is long), a combined flatMap can be optimized to be much faster than doing the functions one by one.
[ Parent
| on HN ]
There are no comments on this comment yet.