UNPKG

@kipper/target-js

Version:

The JavaScript target for the Kipper compiler 🦊

18 lines • 598 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createGlobalScope = void 0; const createGlobalScope = () => `var __globalScope = typeof __globalScope !== "undefined" ? __globalScope : typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {}; `.replace(/\n| {2}| /g, ""); exports.createGlobalScope = createGlobalScope; //# sourceMappingURL=create-global-scope.js.map