Concept
Callbacks
Functions passed to other functions to be called later, the original way to handle async work.
What should you learn before Callbacks?
- 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
- Node.js Interview Questions for Freshers1 question on Callbacks