Callbacks in JS
What a callback function is
A callback function is a function that is passed as an arguments to another function and is executed later .
function greet(name,callback){
console.log(`hello , ${name}`);
callbacks-in-js-01.hashnode.dev2 min read