Array.prototype.flatMap from ES2019

InstructorLaurie Barth

Share this video with your friends

Send Tweet

Use the flatMap function to both map and flatten at the same time.