async function run() { const items = [1, 2, 3]; return Promise.all(items.map(async n => n * 2)); } console.log(await run());