Course contentsShow
JavaScript
Lesson 885 of 2,72320. Array Iteration and TransformationPro lesson

The Array.prototype.flat() Method

Learn how flat() flattens nested arrays and takes an optional depth parameter to control levels of flattening.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.