2D -Array zu 1D Array JavaScript

[[1, 2, 3], [4, 5, 6]].flat()
Le Minh Ha