| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent e1a55e7 commit 275a8f9
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -350,7 +350,7 @@ function setupProcessObject() { | |||
| 350 | 350 | EventEmitter.call(process); | |
| 351 | 351 | Object.defineProperty(process, Symbol.toStringTag, { | |
| 352 | 352 | enumerable: false, | |
| 353 | - writable: false, | ||
| 353 | + writable: true, | ||
| 354 | 354 | configurable: false, | |
| 355 | 355 | value: 'process' | |
| 356 | 356 | }); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -4,3 +4,4 @@ import assert from 'assert'; | |||
| 4 | 4 | import process from 'process'; | |
| 5 | 5 | ||
| 6 | 6 | assert.strictEqual(Object.prototype.toString.call(process), '[object process]'); | |
| 7 | + assert(Object.getOwnPropertyDescriptor(process, Symbol.toStringTag).writable); | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments