Travis build: 176 [cron]

This commit is contained in:
30secondsofcode
2018-08-02 19:51:06 +00:00
parent 22053cd21e
commit ae8c006535
10 changed files with 1671 additions and 1639 deletions

View File

@ -6,7 +6,8 @@ Use `Array.reduce()` to loop over elements and store indices for matching elemen
Return the array of indices.
```js
const indexOfAll = (arr, val) => (arr, val) => arr.reduce((acc, el, i) => el === val ? [...acc, i] : acc, []);
const indexOfAll = (arr, val) => (arr, val) =>
arr.reduce((acc, el, i) => (el === val ? [...acc, i] : acc), []);
```
```js