News for hackers. Stuff that matters.
Re:Understanding JavaScript function invocation and "this" by wycats on Thursday August 11, 2011 @04:32PM (#2874634)
In general, you can use explicit argument passing or closing over what you need. I tend to use closures to get information from my current scope to a callback, although that doesn't always work in heavily object-oriented code.

There are no comments on this comment yet.