mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 18:07:49 +00:00
Apply even more let/const transforms.
This commit is contained in:
4
_root.js
4
_root.js
@@ -1,9 +1,9 @@
|
||||
import freeGlobal from './_freeGlobal.js';
|
||||
|
||||
/** Detect free variable `self`. */
|
||||
var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
|
||||
const freeSelf = typeof self == 'object' && self && self.Object === Object && self;
|
||||
|
||||
/** Used as a reference to the global object. */
|
||||
var root = freeGlobal || freeSelf || Function('return this')();
|
||||
const root = freeGlobal || freeSelf || Function('return this')();
|
||||
|
||||
export default root;
|
||||
|
||||
Reference in New Issue
Block a user