Travis build: 901
This commit is contained in:
@ -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();
|
||||
};
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user