News for hackers. Stuff that matters.
Re:Mistakes we make using JavaScript Promises by simplify on Friday July 05, 2019 @01:23AM (#20360038)
Yes, the correct syntax is:

    const [foo, bar] = await Promise.all([async1(), async2()])

There are no comments on this comment yet.