Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

async function syntax

const foo = async () => {
   await// do something
}
// OR
async function foo() {
  await// do something
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #async #function #syntax
ADD COMMENT
Topic
Name
5+6 =