Skip to content

Commit 0c4a951

Browse files
committed
updating 19th
1 parent f404602 commit 0c4a951

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

19_ExecuteAsynchronousFunctionsInParallel.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
* @param {Array<Function>} functions
66
* @return {Promise<any>}
77
*/
8-
98
var promiseAll = async function(functions) {
109
return new Promise((resolve, reject) => {
1110
// We know the resulting array will be the same length as functions
@@ -22,7 +21,6 @@ var promiseAll = async function(functions) {
2221
});
2322
});
2423
};
25-
2624
/**
2725
* const promise = promiseAll([() => new Promise(res => res(42))])
2826
* promise.then(console.log); // [42]

0 commit comments

Comments
 (0)