Travis build: 656

This commit is contained in:
30secondsofcode
2018-10-17 10:19:39 +00:00
parent 1b2b97ec2d
commit f53f5ccfd3
2 changed files with 2 additions and 2 deletions

View File

@ -1105,7 +1105,7 @@ Create a `Set` by applying `fn` to each element in `b`, then use `Array.prototyp
```js
const differenceBy = (a, b, fn) => {
const s = new Set(b.map(v => fn(v)));
const s = new Set(b.map(fn));
return a.filter(x => !s.has(fn(x)));
};
```