I was curious which way is generally preferred, or if there is even a preference, given these two options:
$.ajax({
url: '../Component/GetSearchFilters',
success: function (response) {
console.log("Outer scope:", this);
}.bind(this)
});
If I was inside of a function where I needed both "this" and outer-scope's "this," then I would assign a variable, but I generally prefer binding to keep variable usage scoped to as few lines as possible.