# Functions as Values: Callbacks

In JavaScript a function is a value you can hand to another function, which calls it for you; that handed-over function is a callback, and it's how sorting, timers and buttons work.

![Cheat sheet: Functions as Values: Callbacks](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/10/77f2740cacf4456f87bfe5b0f2051ea9.webp)

- Category: JavaScript
- Level: Apprentice
- Tags: Arrow Function, Callback Function, First-Class Function (javascript), Higher-Order Function (javascript), JavaScript
- Updated: November 1, 2026

Source: https://www.ask-codey.com/cheat-sheets/javascript-callbacks-functions-as-values-cheat-sheet
