Course · Section 11: Working With Arrays · Lecture 170: flat and flatMap
Implement `flattenOne(arr)` flattening one level of nesting using `flat`.
+ 1 hidden test run on Submit.
flat with the default depth merges one level of nested arrays.
Run your code to see results.