Travis build: 1870

This commit is contained in:
30secondsofcode
2020-04-15 17:26:52 +00:00
parent d85785b540
commit 35403ccebb
13 changed files with 99 additions and 92 deletions

View File

@ -9,7 +9,6 @@ Use `Array.prototype.reduce()` to apply `fn` to each element in `arr` and combin
Use `el` as the key for each property and the result of `fn` as the value.
```js
const mapObject = (arr, fn) =>
arr.reduce((acc, el, i) => {
acc[el] = fn(el, i, arr);