Files
lodash/.internal/root.js
John-David Dalton 6cb3460fce Remove semicolons.
2017-02-05 22:22:04 -08:00

10 lines
297 B
JavaScript

import freeGlobal from './freeGlobal.js'
/** Detect free variable `self`. */
const freeSelf = typeof self == 'object' && self && self.Object === Object && self
/** Used as a reference to the global object. */
const root = freeGlobal || freeSelf || Function('return this')()
export default root