Mastering JavaScript: Understanding Callbacks and Higher-Order Functions
What is callback?
Let’s simplify this word callback for you it’s a function and also you can say it’s a arrow function which is being passed as an argument in a function parameter.
Example:
function foo(name,age){
/*
1. function -> is a keyword...
sourav0010.hashnode.dev7 min read