1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-23 15:16:54 -05:00
denoland-deno/std/node/global.ts

10 lines
191 B
TypeScript
Raw Normal View History

2020-04-30 13:58:40 -04:00
Object.defineProperty(globalThis, Symbol.toStringTag, {
value: "global",
writable: false,
enumerable: false,
configurable: true,
});
// @ts-ignore
globalThis["global"] = globalThis;