promise all then in async await code example
Example: promise.all async await
async function fetchABC() {
const [a, b, c] = await Promise.all([a(), b(), c()]);
}
async function fetchABC() {
const [a, b, c] = await Promise.all([a(), b(), c()]);
}