mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-04 08:57:49 +00:00
Move internal modules to “internal” folder.
This commit is contained in:
9
.internal/root.js
Normal file
9
.internal/root.js
Normal file
@@ -0,0 +1,9 @@
|
||||
import freeGlobal from './.internal/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;
|
||||
Reference in New Issue
Block a user