What is a Callback Function in JavaScript
Callbacks are functions passed to other functions to be called inside the outer function. it is any function called by another function using a parameter. when we pass a function to another function and it is executed in that function, we can call it a callback.
