UNPKG

298 BJavaScriptView Raw
1import freeGlobal from './_freeGlobal.js';
2
3/** Detect free variable `self`. */
4var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
5
6/** Used as a reference to the global object. */
7var root = freeGlobal || freeSelf || Function('return this')();
8
9export default root;