Know thy reference

1 · Juriy Zaytsev · Dec. 11, 2014, midnight
Know thy reference Abusing leaky abstractions for a better understanding of "this" It was a sunny Monday morning that I woke up to an article on HackerNews, simply named "This in Javascript". Curious to see what all the attention is about, I started skimming through. As expected, there were mentions of this in global scope, this in function calls, this in constructor instantiation, and so on. It was a long article. And the more I looked through, the more I realized just how overwhelming this top...