Skip to content

Callback functions: JS

Marie-Louise edited this page Nov 30, 2018 · 5 revisions

When you call or invoke a function you're asking for those lines of code to be executed immediately. This is also known as synchronist programming. When you use the function as a callback, it gets executed or invoked when it's supposed to in the future. This is known as asynchronous programming.

Clone this wiki locally