Callbacks in JavaScript
What is a callback function
A callback function is a function that is passed as an argument into another function and invoked by the outer function either synchronously or asynchronously.
Need of callback function
JavaScript is a single-threaded lang...
adityaprabhat.hashnode.dev4 min read