shichuan/javascript-patterns — pull request #109 by pseudosavant (2014-01-02 22:56:24+00:00)
Title: Update access-to-global-object.html

New global function that is faster and more concise (inspired by jQuery's implementation). It also doesn't use `eval` but still works in ES3, ES5, and ES5-strict clients. Added a test for it on jspef: http://jsperf.com/globalx/7.