UNPKG

30-seconds-of-code

Version:
5 lines (3 loc) 235 B
### Callback A callback function, also known as a high-order function, is a function that is passed into another function as an argument, which is then executed inside the outer function. Callbacks can be synchronous or asynchronous.