Drawback in Callbacks Callbacks can be invoked any number of times inside the function Thus, the state of the result of the task keeps on changing. Example: function sendMail(details, callBack) { setTimeout(function () { // callBack is invo...
bntharu.hashnode.dev2 min read
No responses yet.