By dotCore
via henrycode.tumblr.com
Submitted: Dec 31 2012 / 02:44
The keyword ‘this’ holds a value and is bound to another object. It can be one of the most confusing subjects in JavaScript. It doesn’t have to be if you follow this simple rule: The keyword ‘this’ is bound dynamically to the object found to the left of the ‘.’ at call time.
Comments
yakkoh replied ago:
Short and sweet and clear: please write a book on JS. #### I like the "one of the most confusing subjects", so there many subjects confusing in JS.
Voters For This Link (3)
Voters Against This Link (0)