Question · JavaScript and TypeScript course · Module 4: Asynchronous JavaScript

Async Function

What does a function marked with the async keyword automatically return?

Answer options

  • Generator
  • Promise
  • undefined
  • Callback

You can check the correct answer by solving this task in the CodeWorlds game.