Travis build: 425

This commit is contained in:
30secondsofcode
2018-09-10 05:32:36 +00:00
parent 65c185b8ad
commit f55e2526de
2 changed files with 2 additions and 2 deletions

View File

@ -7084,7 +7084,7 @@ Creates an object from the given key-value pairs.
Use `Array.reduce()` to create and combine key-value pairs.
```js
const objectFromPairs = arr => arr.reduce((a, v) => ((a[v[0]] = v[1]), a), {});
const objectFromPairs = arr => arr.reduce((a, [key, val]) => ((a[key] = val), a), {});
```
<details>