diff options
Diffstat (limited to 'std/node/process.ts')
-rw-r--r-- | std/node/process.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/std/node/process.ts b/std/node/process.ts index f90e1eada..f4bdd8686 100644 --- a/std/node/process.ts +++ b/std/node/process.ts @@ -37,3 +37,10 @@ export const process = { return [Deno.execPath(), ...Deno.args]; }, }; + +Object.defineProperty(globalThis, "process", { + value: process, + enumerable: false, + writable: true, + configurable: true, +}); |