Updated examples

This commit is contained in:
Angelos Chalaris
2017-12-27 16:06:16 +02:00
committed by Agamemnon Zorbas
parent 91d42064c8
commit bb722b2eb4
101 changed files with 155 additions and 140 deletions

View File

@@ -9,5 +9,5 @@ const objectFromPairs = arr => arr.reduce((a, v) => (a[v[0]] = v[1], a), {});
```
```js
objectFromPairs([['a',1],['b',2]]) -> {a: 1, b: 2}
objectFromPairs([['a',1],['b',2]]) // {a: 1, b: 2}
```