diff --git a/snippets/flatten.md b/snippets/flatten.md index deca1d752..4542d6b18 100644 --- a/snippets/flatten.md +++ b/snippets/flatten.md @@ -2,7 +2,7 @@ Flattens an array. -Using a new array we concatinate it with the spread input array causing a shallow flatten +Using a new array we concatinate it with the spread input array causing a shallow denesting of any contained arrays ```js const flatten = arr => [ ].concat( ...arr );