The await keyword is only valid in async function. If you use await outside of the async function function, you will only get a syntax error.
await
async