Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Asynchronous Programming with JavaScript!
You have completed Asynchronous Programming with JavaScript!
Preview
Learn how the keywords async and await, together, provide a special syntax to work with promises in a way that feels more intuitive and concise.
Resources
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
JavaScript continues to provide new and
improved ways to do the exact same thing.
0:00
Working with promise space
code is one of those things.
0:00
So far you've experienced the progression
of asynchronous code from callbacks
0:03
to promises and fetch.
0:07
ES 2017 introduced async/await to further
simplify how you work with promises.
0:09
In this stage,
you'll learn how the keywords Async and
0:15
Await together provide a special
syntax to work with promises, and
0:18
with that feels more intuitive and
concise.
0:21
Async/await and promises are fundamentally
the same under the hood.
0:24
So you should understand how promises
work before working with async/await.
0:27
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up