Introduction to Asynchronous Programming in JavaScript

Learn strategies for implementing asynchronous code. Learn why it's necessary.

It’s time to introduce asynchronous code. So far, with the exception of a couple of lessons, everything we’ve seen and done has been synchronous - one thing happens right after the other. A program starts and runs immediately to completion.

I normally try to use runnable code in my lessons, but explaining the common use cases of asynchronous code is not plausible in this limited environment. In this section, we’ll have to work with hypothetical situations.

Get hands-on with 1200+ tech skills courses.