The global 'global' property is a reference to the global object.
Example
Reference a property of the global object/scope
var bar = "kipper";
function foo() {
var bar = "halibut";
console(bar); // halibut
console(global.bar); // kipper
}
Easily access global from within enclosures/sandboxes
(function(){ // https://warzone.atlassian.net/wiki/display/jsapi/Code+sandboxing
var eventStartLevel; // oops, now we can't define global eventStartLevel from in here :(
// oh, yes we can! :)
global.eventStartLevel = function() {
// code
}
})();