Course lesson
Flatten a Nested Array in JavaScript with Array.prototype.flat
This is an example of how to use the flat method available on the array prototype in JavaScript.
- Duration
- 1 min
- Access
- Free
- Transcript
- Needs source
This is an example of how to use the flat method available on the array prototype in JavaScript.