News for hackers. Stuff that matters.
Re:An Introduction to JavaScript's "this" by jmtulloss on Saturday September 26, 2009 @10:43PM (#846438)
That was a bit inexact. It's kind of a hard point to generalize, I gave it another go.
Re:An Introduction to JavaScript's "this" by Bluem00 on Saturday September 26, 2009 @11:28PM (#846479)
Aboodman seems to have a better handle on it than I do. I think what I said about the dom object is correct, but he point out that window is the default value of this for other function calls.