5 lines
101 B
JavaScript
5 lines
101 B
JavaScript
module.exports = chainAsync = fns => {
|
|
let curr = 0;
|
|
const next = () => fns[curr++](next);
|
|
next();
|
|
}; |