Test performance improvements by trimming views
This commit is contained in:
@ -7,8 +7,6 @@ Filters out the elements of an array, that have one of the specified values.
|
||||
|
||||
Use `Array.prototype.filter()` to create an array excluding(using `!Array.includes()`) all given values.
|
||||
|
||||
_(For a snippet that mutates the original array see [`pull`](#pull))_
|
||||
|
||||
```js
|
||||
const without = (arr, ...args) => arr.filter(v => !args.includes(v));
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user