In JavaScript, functions are objects. Because of this, functions can take functions as arguments, and can be returned by other functions. Functions that do this are called higher-order functions. Any function that is passed as an argument is called a callback function.
...
Callbacks are a way to make sure certain code doesn't execute until other code has already finished execution.
Author: StJohn Piano
Published: 2018-01-03
Datafeed Article 27
This article has been digitally signed by Edgecase Datafeed.
This article has been digitally signed by its author.
8 minute read (3 pages)
Click here to ask the author a question.