Travis build: 1437

This commit is contained in:
30secondsofcode
2018-01-26 11:58:16 +00:00
parent 6d0c7a1d2a
commit ed72b2d0ec
3 changed files with 74 additions and 3 deletions

View File

@ -20,6 +20,6 @@ const pullBy = (arr, ...args) => {
```
```js
var myArray = [{ 'x': 1 }, { 'x': 2 }, { 'x': 3 }, { 'x': 1 }];
pullBy(myArray, [{ 'x': 1 }, { 'x': 3 }], o => o.x); // myArray = [{ x: 2 }]
var myArray = [{ x: 1 }, { x: 2 }, { x: 3 }, { x: 1 }];
pullBy(myArray, [{ x: 1 }, { x: 3 }], o => o.x); // myArray = [{ x: 2 }]
```