es6 promise all 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()]);
}