jasonkarns
7/10/2013 - 7:05 PM

Get access to global object in a Lint-, ES5-, strict-mode-, and node- safe way.

Get access to global object in a Lint-, ES5-, strict-mode-, and node- safe way.

var root = (function(f){ return f('return this')(); })(Function);
root = ((f) -> f('return this')())(Function)