Async await In JavaScript

  • Async functions returns thenable, which is a promise under the hood
  • Can call await in an async function which blocks the queue to get the result of another async function
  • await cannot be used in non-async functions
  • Calling async function without then will start running the function but not collect the return