Documenting a callback function in JSDoc
A callback function is a function passed into another function as an argument, which is then invoked inside the outer function to complete some kind of routine or action. -- MDN: Callback function Callbacks are used all over in JavaScript, a good ex...
Jan 12, 20247 min read858
