JavaScript’s this: how it works, where it can trip you up [2017-12-06] Follow-up post: “A different way of understanding `this` in JavaScript” In JavaScript, the special variable this is relatively complicated, because it is available everywhere, not just in object-oriented settings. This blog post explains how this works and where it can cause problems, concluding with best practices. To understa