array.flat()
creates an array with all sub-array elements concatenated recursively
Links
Description of array.flat() on MDN.
Blog post on flat and flatMap, on the v8 blog.
"#SmooshGate FAQ"