adambeynon/opal — Issue #63: Have an $opal.global variable.
Author: meh
Created: 2012-01-13 22:48:49+00:00
State: open
Labels: feature

Which should be something on the lines of `(function () { return this; })()` in global scope, in this way you can easily access global constructors and such.

For instance, I need it in typed-array, where I build a string with the name of the array constructor and I'd have to use eval to get it, or use `window` which is only in the browser's scope.