Explore Library
FlashcardIntermediate

Promises, async/await & the event loop

How promises and async/await handle asynchronous work without blocking JavaScript's single thread.

Question

What are promises and async/await, and how do they relate to the event loop?

Click to reveal answer