Skip to content

Glossary: JavaScript Beyond the Basics

Callback

Also written: callbacks

A function you hand to other code to call later, such as the function passed to `setTimeout`. Methods passed this way lose their `this`.

Where the book teaches it

Related terms

thisPromise