It is often necessary to capture the current execution context in order to make it available subsequently. A prominent example of this are jQuery callbacks: var that = this; jQuery('li').click(function (event) { // here, "this" is the HTMLElement where the click event occurred that.setFoo(42); }); There are many commonly used aliases for this such as that, self or me. It is desirable to ensure tha