Callback Function (JavaScript)

A callback is a function passed as an argument to another function, to be called ("called back") later. Callbacks power events, timers, and array methods.