1
0
mirror of https://github.com/musix-org/musix-oss synced 2025-07-03 22:34:27 +00:00
Files
musix-oss/node_modules/core-js/internals/global.js
MatteZ02 30022c7634 Modules
2020-03-03 22:30:50 +02:00

14 lines
465 B
JavaScript

var check = function (it) {
return it && it.Math == Math && it;
};
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
module.exports =
// eslint-disable-next-line no-undef
check(typeof globalThis == 'object' && globalThis) ||
check(typeof window == 'object' && window) ||
check(typeof self == 'object' && self) ||
check(typeof global == 'object' && global) ||
// eslint-disable-next-line no-new-func
Function('return this')();