by ng12 · 7y ago · 0 comments
const [foo, bar] = await [async1(), async2()]
const [foo, bar] = await Promise.all([async1(), async2()])