aboutsummaryrefslogtreecommitdiff
path: root/node_modules/lodash/_root.js
blob: d2852bed4d2e469b3b87ed31df2350047e005ff4 (plain)
1
2
3
4
5
6
7
8
9
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;