JavaScript can run tasks asynchronously, meaning it does not wait for a task to finish before moving on.
A callback is a function that runs after another function finishes.
A Promise represents a future value.
Async functions always return a Promise.
The await keyword pauses execution until the Promise resolves.
Create a function that returns a Promise and use async/await to print the result.
Ask the AI if you need help understanding or want to dive deeper in any topic