Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.

Instruction

Callbacks Review

Functions can be passed around just like any value in JavaScript.

Callback Functions

A callback function is a function passed into another function as an argument. The function that receives the callback function is often referred to as the "parent" function. The parent function will, at some point in the future, execute or call the callback.

For example, the add function below acce...