最佳答案
这两者之间有什么区别吗:
const [result1, result2] = await Promise.all([task1(), task2()]);
而且
const t1 = task1();
const t2 = task2();
const result1 = await t1;
const result2 = await t2;
而且
const [t1, t2] = [task1(), task2()];
const [result1, result2] = [await t1, await t2];