JS obiecuje wszystkie zwracane tablicę JSON
const requests = ['myapi.com/list','myapi.com/trending']
const jsonArray = await Promise.all(requests.map(url => fetch(url)))
.then(async (res) => {
return Promise.all(
res.map(async (data) => await data.json())
)
})
NotDamian