Callback Hell Callbacks are frequently used in both Node.js and client-side JavaScript to implement an asynchronous program flow. Perhaps the most common usages are jQuery’s AJAX callbacks, such as: $.get('http://my-url', function(data) { // this function will be invoked // at some point in the future // once the ajax request // has completed successfully. }); Things get more complicated once mult

