JavaScript 40 🧬 The this keyword — call/apply/bind
The this keyword is one of the most confusing parts of JavaScript — until you understand one simple rule: this is determined by how a function is called, not where it’s defined. Once you internalize that rule, everything else falls into place. Key point: this refers to the execution context of a function — the…