02. Async Function Syntax
async function functionDeclaration() {
/**/
}
const functionExpression = async function() {
/**/
};
const arrowFunction = async () => {
/**/
};
const object = {
async methodName() {
/**/
}
};
class C {
async methodName() {}
async ["computedName"]() {}
}Return value
Last updated