const task2then3 = async () => task3(await task2()); const [result1, result3] = await Promise.all([task1(), task2then3()])