summaryrefslogtreecommitdiff
path: root/std/node/global.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/node/global.ts')
-rw-r--r--std/node/global.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/std/node/global.ts b/std/node/global.ts
index c889e9c8d..c877d1d53 100644
--- a/std/node/global.ts
+++ b/std/node/global.ts
@@ -1,2 +1,9 @@
+Object.defineProperty(globalThis, Symbol.toStringTag, {
+ value: "global",
+ writable: false,
+ enumerable: false,
+ configurable: true,
+});
+
// @ts-ignore
globalThis["global"] = globalThis;