mirror of
https://github.com/thangisme/notes.git
synced 2024-10-31 22:37:27 -04:00
5 lines
173 B
JavaScript
5 lines
173 B
JavaScript
/** Detect free variable `global` from Node.js. */
|
|
var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
|
|
|
|
module.exports = freeGlobal;
|