How does “this” keyword work within a function?
Cannibalized from another post of mine, here’s more than you ever wanted to know about this. Before I start, here’s the most important thing to keep in mind about Javascript, and to repeat to yourself when it doesn’t make sense. Javascript does not have classes (ES6 class is syntactic sugar). If something looks like a … Read more