News for hackers. Stuff that matters.
Re:A Modern JavaScript Tutorial by nailer on Tuesday December 08, 2020 @06:29AM (#25343982)
I'd just:

    async function getResult3(){
      const res = await task2()
      return task3(res))
    }

    const [result1, result3] = await Promise.all([task1(), 
    getResult3()])

There are no comments on this comment yet.