DEV Community

Discussion on: Array Flattening in 5 lines

Collapse
 
dhilipkmr profile image
Dhilip kumar

Post here is to understand how we could write utility functions ourselves. Getting to know what's happening under the Hood.๐Ÿ˜…

Collapse
 
georgecoldham profile image
George

Oh absolutely! Itโ€™s a valuable thing being able to understand whatโ€™s going on behind the scenes.

I only suggested .flat() incase you or others werenโ€™t aware of it. As Its a relatively new addition.

Thread Thread
 
dhilipkmr profile image
Dhilip kumar

Sure thing Agreed. I'll add about Array.flat too in the above Post . ๐Ÿ˜„