Skip to content

Commit

Permalink
just in case detect correctness of globalThis
Browse files Browse the repository at this point in the history
  • Loading branch information
zloirock committed Sep 4, 2022
1 parent 79ababc commit b534518
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core-js/modules/es.global-this.js
Expand Up @@ -3,6 +3,6 @@ var global = require('../internals/global');

// `globalThis` object
// https://tc39.es/ecma262/#sec-globalthis
$({ global: true }, {
$({ global: true, forced: global.globalThis !== global }, {
globalThis: global
});

0 comments on commit b534518

Please sign in to comment.