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...