Travis build: 901

This commit is contained in:
30secondsofcode
2018-12-12 22:06:03 +00:00
parent ee0d23d302
commit dbc56ed9f4
8 changed files with 50 additions and 23 deletions

View File

@ -9,9 +9,9 @@ const chainAsync = fns => {
let curr = 0;
const last = fns[fns.length - 1];
const next = () => {
const fn = fns[curr++]
const fn = fns[curr++];
fn === last ? fn() : fn(next);
}
};
next();
};
```