The second most efficient way to flatten an array is with a kitchen rolling pin.
The first has to be the new .flat() function in ES2019.
This little snippet is from my sketchnotes on all the new JavaScript ES2019 features.
You can see the full post at illustrated.dev/sketches/es2019

