nodejs call async function from main code example
Example: define async function in node js
async function name([param[, param[, ...param]]]) {
statements
}
async function name([param[, param[, ...param]]]) {
statements
}