Array.prototype.flat()
The flat() method creates a new array with all sub-array elements concatenated into it recursively up to the specified depth.
Flat is really a useful feature of EcmaScript.
Just uploaded a new Video on ESNext series π
ESNext in 2020 - flat() : Flatten an Array
Please SUBSCRIBE for my future videos on ESNext series and also other cool series π
YoutTube Channel: https://www.youtube.com/channel/UCy5EgfydCQlVv_AM-FZyYcg
See you in my next Post!
Cheers!
π
Top comments (5)
π π π
I started to build my YouTube channel. Subscribe if you like π π Thanks!
What's the name of the YouTube channel, Shahjada?
The Destro Dev Show
youtube.com/channel/UCy5EgfydCQlVv...