Updated linter to work with restructure
This commit is contained in:
@ -5,7 +5,7 @@ Flattens an array.
|
||||
Use a new array and concatenate it with the spread input array causing a shallow denesting of any contained arrays.
|
||||
|
||||
```js
|
||||
const flatten = arr => [ ].concat( ...arr );
|
||||
const flatten = arr => [ ].concat(...arr);
|
||||
```
|
||||
|
||||
```js
|
||||
|
||||
Reference in New Issue
Block a user