Tag Archives: binding
JavaScript Callbacks and Binding (and Callback Arguments and References)
Callback functions are used in JavaScript (JS) extensively. They are required for AJAX/XHR, event handling, and in popular JS libraries. However, passing around functions as arguments can cause headaches, especially for beginner JS programmers. Problems with binding/this One of the … Continue reading