odin-js-fundamentals-part-4/node_modules/es-abstract/2017/GetGlobalObject.js

10 lines
198 B
JavaScript

'use strict';
var getGlobal = require('globalthis/polyfill');
// https://262.ecma-international.org/6.0/#sec-getglobalobject
module.exports = function GetGlobalObject() {
return getGlobal();
};