await for promise.all 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()]);
}