News for hackers. Stuff that matters.
Re:WTFJS? by jauco on Saturday February 13, 2010 @05:17AM (#1122858)
How? The only reaon this works is that 'this' in a function that is not called on an object will default to the global object (window for browser js).

So just saying 'this' in an arbitrary function has the same effect.

Re:WTFJS? by gcb on Saturday February 13, 2010 @08:48PM (#1123948)
but `this` is filtered by most js clean up libs.