mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 18:07:49 +00:00
Update object checks.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/** Detect free variable `global` from Node.js. */
|
||||
const freeGlobal = typeof global == 'object' && global && global.Object === Object && global
|
||||
const freeGlobal = typeof global == 'object' && global !== null && global.Object === Object && global
|
||||
|
||||
export default freeGlobal
|
||||
|
||||
Reference in New Issue
Block a user