News for hackers. Stuff that matters.
Re:Understanding JavaScript function invocation and "this" by aquark on Thursday August 11, 2011 @01:46PM (#2873928)
I am fairly new to JS and have read a number of articles on how 'this' works over the last few months after getting suitably confused by the (apparent) 'inconsistent' behaviour.

I think this is the best presentation of the concepts I've seen since it builds everything up from the simplest primitives ... either that or I just hit the critical number of repetitions to actually understand it!

Re:Understanding JavaScript function invocation and "this" by kalid on Thursday August 11, 2011 @03:42PM (#2874415)
I agree. The focus on "desugaring" and building up from the basics was key. Most of the time we're using "conveniences" without knowing what was made convenient!