What is a callback function?

What is a callback function?

Approach: Describe function passed as argument.

A function that is passed as an argument to another function and is executed after some event or task is completed.

Follow-up: What is 'callback hell'?

Key concepts: higher-order functions, event-driven.