“This” Is Weird: Understanding JavaScript “This” Keyword

The “this” keyword in JavaScript behaves quite differently than similar constructs in other languages, such as “this” in Java or “self” in Python. Read more

Similar

The JavaScript This Keyword

The this keyword in JavaScript is one of the most confusing parts of the language, but understanding how it works and to what it is referring is vital to writing applications with as few errors as possible. (more…)

Read more »