array.flatMap()
maps over each element and flattens it afterwards
Links
Description of array.flatMap() on MDN.
Blog post on flat and flatMap, on the v8 blog.
"#SmooshGate FAQ"
".flatMap(): mapping to zero or more values " by Axel Rauschmayer