Node Spikes

Asynchronous JavaScript

How does JS handle asynchronous code?

Questions to consider

  1. What’s the difference between “synchronous” and “asynchronous” code? Why might synchronous code be called “blocking”?
  2. What are the event loop and the call stack?
  3. How do callbacks and promises help us?

Useful resources

These resources are helpful extra reading that may clarify or enhance concepts you’re learning in the main curriculum.