本质上,这个方法和Promise.all()是相反的。 ... 所有的 promises 都被拒绝,返回的 promise 就会 异步地 变成完成/拒绝(resolved/reject)状态(一旦栈中为空)。
確定! 回上一頁