What is a callback function? A callback is a function that is passed as an argument to another function. This method is used to execute a function(passed as an argument) when the function has finished. The JavaScript code executes synchronously accor...

Markdown supported · ⌘↵ to post
Sheeraz Shaikh
Javascript | React | GraphQL
Thanks for writing this blog post. Its a very basic example of callback and clearly shows the importance of using it.