10 lines
298 B
JavaScript
10 lines
298 B
JavaScript
import freeGlobal from './_freeGlobal.js';
|
|
|
|
/** 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')();
|
|
|
|
export default root;
|