Javascript – creating a new promise with async
So I have a bunch of promises I'm trying to batch complete like so: let promises = []; let fixedValues = []; let shouldIQuit = false; let value = { b: 1 }; promises.push( new Promise(async (resolve, reject) => {…