Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / core-js / internals / global.js
1 var check = function (it) {
2   return it && it.Math == Math && it;
3 };
4
5 // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
6 module.exports =
7   // eslint-disable-next-line no-undef
8   check(typeof globalThis == 'object' && globalThis) ||
9   check(typeof window == 'object' && window) ||
10   check(typeof self == 'object' && self) ||
11   check(typeof global == 'object' && global) ||
12   // eslint-disable-next-line no-new-func
13   (function () { return this; })() || Function('return this')();