ran npm run tdd & generated TDD
This commit is contained in:
5
test/chainAsync/chainAsync.js
Normal file
5
test/chainAsync/chainAsync.js
Normal file
@ -0,0 +1,5 @@
|
||||
module.exports = fns => {
|
||||
let curr = 0;
|
||||
const next = () => fns[curr++](next);
|
||||
next();
|
||||
};
|
||||
Reference in New Issue
Block a user