
A callback is a function passed as an argument to another function, to be called later. Event listeners use callbacks: btn.addEventListener('click', myCallback). Array methods use callbacks: arr.map(item => item * 2). Callbacks are the original way JavaScript handled asynchronous operations before Promises were introduced.
Reference:
TaskLoco™ — The Sticky Note GOAT