jskatas.org Continuously Learn JavaScript. Your Way.

Array API: array.flat()

array.flat() creates an array with all sub-array elements concatenated recursively

Donate to NGO Julenka. Support Ukranians in need. Julenka is an NGO which my brother founded in 2011 to support Ukranian families and kids in need.

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"