const results = await Promise.all(urls.map((url) => fetch(url).then((r) => r.json()))); console.log(JSON.stringify(results, null, 2)); }
確定! 回上一頁