Actualizacion maquina principal
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / core-js / internals / global.js
diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/core-js/internals/global.js b/.config/coc/extensions/node_modules/coc-prettier/node_modules/core-js/internals/global.js
new file mode 100644 (file)
index 0000000..cf00638
--- /dev/null
@@ -0,0 +1,13 @@
+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')();