How to chain a Promise.all with other Promises?
问题 I want to execute my code in the following order: Promise 1 Wait for 1 to be done, then do Promise 2+3 at the same time Final function waits for Promise 2+3 to be done I'm having some trouble figuring it out, my code so far is below. function getPromise1() { return new Promise((resolve, reject) => { // do something async resolve('myResult'); }); } function getPromise2() { return new Promise((resolve, reject) => { // do something async resolve('myResult'); }); } function getPromise3() { return