Functions are called first-class citizens in Javascript which means you can pass it to another function as an argument and this function which you pass as an argument is known as a callback function. function outer(callback){ } outer(function inner...

Markdown supported · ⌘↵ to post
No responses yet.