update snippets to new style

This commit is contained in:
Stefan Feješ
2017-12-27 16:12:34 +01:00
parent eb0bf7427f
commit cb44eaa329
7 changed files with 13 additions and 16 deletions

View File

@ -14,5 +14,5 @@ const flattenDepth = (arr, depth = 1) =>
```
```js
flatten([1,[2],3,4]) // [1,2,3,4]
flattenDepth([1,[2],3,4]) // [1,2,3,4]
```