Rest API - Batch and Bulk Operations
Identify the error in this async batch code:
async function getData() {
const data = Promise.all([
fetch('url1'),
fetch('url2')
]);
console.log(data);
}
getData();