Travis build: 1368

This commit is contained in:
30secondsofcode
2018-01-24 10:21:11 +00:00
parent 8c3cd669eb
commit 56d84c429e
3 changed files with 62 additions and 4 deletions

View File

@ -6,9 +6,7 @@ Create a `Set` with all values of `a` and values in `b` for which the comparator
```js
const unionWith = (a, b, comp) =>
Array.from(
new Set([...a, ...b.filter(x => a.findIndex(y => comp(x, y)) === -1)])
);
Array.from(new Set([...a, ...b.filter(x => a.findIndex(y => comp(x, y)) === -1)]));
```
```js