this Keyword in JavaScript
We happen to guess that the this keyword’s usage is same to the ones in Java or C# or any other OOP language. But it’s not true. I’ve been following the book series You Don’t Know JS, and i gotta say using this is not that easy as it looks. What We Normally Assume We think that it refers to the function that it resides in. For example think about this C# code:...