You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
300 B
JavaScript
10 lines
300 B
JavaScript
6 years ago
|
var freeGlobal = require('./_freeGlobal');
|
||
|
|
||
|
/** Detect free variable `self`. */
|
||
|
var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
|
||
|
|
||
|
/** Used as a reference to the global object. */
|
||
|
var root = freeGlobal || freeSelf || Function('return this')();
|
||
|
|
||
|
module.exports = root;
|