re: This is it! you got 'this' VIEW POST


Excellent article Phillip. When I was getting into JavaScript, I read an article somewhere that mentioned that 'this' is used to refer to the antecedent in its 'context', just like English(or any other languages that use pronoun). Thinking this way made so much easier to code in JavaScript. Hope this helps.


Thanks Jake! that is an useful way of thinking about how 'this' works! Nice tip :)

code of conduct - report abuse