Travis build: 373

This commit is contained in:
30secondsofcode
2018-09-04 20:53:57 +00:00
parent b54149c957
commit 973ee405fc
2 changed files with 2 additions and 2 deletions

View File

@ -1684,7 +1684,7 @@ Create a `Set` by applying `fn` to all elements in `b`, then use `Array.filter()
```js
const intersectionBy = (a, b, fn) => {
const s = new Set(b.map(x => fn(x)));
const s = new Set(b.map(fn));
return a.filter(x => s.has(fn(x)));
};
```