Updated examples
This commit is contained in:
committed by
Agamemnon Zorbas
parent
99a07d22dd
commit
97c250bcfb
@ -14,5 +14,5 @@ const flattenDepth = (arr, depth = 1) =>
|
||||
```
|
||||
|
||||
```js
|
||||
flatten([1,[2],3,4]) -> [1,2,3,4]
|
||||
flatten([1,[2],3,4]) // [1,2,3,4]
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user