
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...
Frontend Developer
I'm a self taught web developer and a learner as well. I am sharing my experiences and knowledge here with a hope to help those who are beginners as sharing helps to grow together.
Markdown supported · ⌘↵ to post
Sheeraz Shaikh
Thanks for writing this blog post. Its a very basic example of callback and clearly shows the importance of using it.