update snippets 0-All
This commit is contained in:
committed by
Agamemnon Zorbas
parent
6bedb8fba4
commit
0c129cdd02
@ -8,5 +8,8 @@ _(For a snippet that mutates the original array see [`pull`](#pull))_
|
||||
|
||||
```js
|
||||
const without = (arr, ...args) => arr.filter(v => !args.includes(v));
|
||||
// without([2, 1, 2, 3], 1, 2) -> [3]
|
||||
```
|
||||
|
||||
```js
|
||||
without([2, 1, 2, 3], 1, 2) -> [3]
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user