This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Using await outside an async function throws a SyntaxError; it requires the async context to function.
You've completed the free preview. Subscribe to unlock every lesson in every course.