Callback functions (“callbacks” for short) are the core low-level primitive for asynchrony in JavaScript. This part explores them in-depth, taking extra care to highlight common pitfalls, best and bad practices so you better appreciate later the solutions brought by promises and async/await.

You can download all code samples for this part if you’d like to experiment on your own machine, along with all the videos for this part if you absolutely need to view them offline:
async-js-part-1-vanilla-callbacks-code.zip 11.67 KB

async-js-part-1-vanilla-callbacks-videos.zip 468.9 MB