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