What is `this`? The Inner Workings of JavaScript Objects

1 · Eric Elliott · March 26, 2019, 8:56 p.m.
Photo: Curious by Liliana Saeb (CC BY 2.0)JavaScript is a multi-paradigm language that supports object-oriented programming and dynamic binding. Dynamic binding is a powerful concept which allows the structure of your JavaScript code to change at runtime, but that extra power and flexibility comes at the cost of some confusion, and a lot of that confusion is centered around how this behaves in JavaScript.Dynamic BindingDynamic binding is the process of determining the method to invoke at runtime...