this
, and how it’s not necessarily what you expect it to be. this
isn’t that complicated, but there are very few explanations of how it works on the internet. I find myself constantly re-explaining the concept to those who are new to JavaScript development. This article is an attempt to explain how this
works and how to use it properly.http://justin.harmonize.fm/index.php/2009/09/an-introduction-to-javascripts-this/
No comments:
Post a Comment