.flat()
Term side of the Card
Topic: Array
Unit title: .flat()
Categories: Method
Explanation side of the Card
Explanation: The method that creates a new array with all sub-array elements concatenated into it recursively up to a specified depth. It simplifies the array structure by merging nested arrays into a single level.
Browser compatibility:
- The chrome browser supports this feature starting from version 69
 - The edge browser supports this feature starting from version 79
 - The firefox browser supports this feature starting from version 62
 - The safari browser supports this feature starting from version 12
 
Availability: