`this` context lost in Javascript/Typescript
In Javascript, the context of `this` is often “lost”, but what it’s actually doing is indeed referencing the current scope it’s in at runtime. `this` Javascript behavior is a big reason why people dislike the language so much. Hater’s gon’ hate! Typescript offers an easy solution to this which compiles into the Javascript you would have had to written to resolve this.