[ad_1]
Instead of:
Promise.all(stuffArray).then((result) => {
console.log('result: ', result);
});
Use:
Promise.all(stuffArray.map(func => func())).then((result) => {
console.log('result: ', result);
});
[ad_2]
solved Promise.all invoking array variable full of functions [duplicate]