Callback & Callback Hell
What is a callback?
A callback function is a function that is passed into another function as an argument, which is then invoked inside that outer function after when a specific task is completed.
// add function
function add(x,y){
return x+y
}
...
bobby-sadhwani.hashnode.dev3 min read