Async function without await in JavaScript

Mozilla documentation:

An async function can contain an await expression, that pauses the
execution of the async function and waits for the passed Promise’s
resolution, and then resumes the async function’s execution and
returns the resolved value.

As you assumed, if no await is present, the execution is not paused and your code will then be executed synchronously as normal.

Leave a Comment