learn deep. ship safe.Practice testsFollow ByteMunSubscribe

Concept

Callbacks

Functions passed to other functions to be called later, the original way to handle async work.

Concept map
Learn firstFunctions
Callbacks

What should you learn before Callbacks?

  1. FunctionsReusable blocks of code; in JavaScript they are values that can be passed around and returned.

What to learn after Callbacks

  • PromisesPromises replaced nested callbacks.
  • The event loopHow a single-threaded runtime runs callbacks from the task and microtask queues.

Practise Callbacks

All topics