JavaScript Developer — Easy
Key points
- `flat()` simplifies nested arrays
- Concatenates sub-array elements
- Depth parameter controls how deep to flatten
- Returns a new array, doesn't modify original
Ready to go further?
Related questions
JavaScript Developer — Easy
Key points
Ready to go further?
Related questions