odin-js-fundamentals-part-5/node_modules/globalthis/index.js

20 lines
408 B
JavaScript
Raw Permalink Normal View History

2024-01-11 08:52:05 +00:00
'use strict';
var defineProperties = require('define-properties');
var implementation = require('./implementation');
var getPolyfill = require('./polyfill');
var shim = require('./shim');
var polyfill = getPolyfill();
var getGlobal = function () { return polyfill; };
defineProperties(getGlobal, {
getPolyfill: getPolyfill,
implementation: implementation,
shim: shim
});
module.exports = getGlobal;