| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 166f14a commit 05e08bd
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -19,6 +19,7 @@ const { | |||
| 19 | 19 | ReflectOwnKeys, | |
| 20 | 20 | Symbol, | |
| 21 | 21 | SymbolHasInstance, | |
| 22 | + SymbolToStringTag, | ||
| 22 | 23 | WeakMap, | |
| 23 | 24 | } = primordials; | |
| 24 | 25 | ||
@@ -233,6 +234,12 @@ ObjectDefineProperties(Console.prototype, { | |||
| 233 | 234 | ...consolePropAttributes, | |
| 234 | 235 | value: groupIndentation | |
| 235 | 236 | }, | |
| 237 | + [SymbolToStringTag]: { | ||
| 238 | + writable: false, | ||
| 239 | + enumerable: false, | ||
| 240 | + configurable: true, | ||
| 241 | + value: 'console' | ||
| 242 | + } | ||
| 236 | 243 | }); | |
| 237 | 244 | } | |
| 238 | 245 | }, | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -757,7 +757,7 @@ const errorTests = [ | |||
| 757 | 757 | { | |
| 758 | 758 | send: 'console', | |
| 759 | 759 | expect: [ | |
| 760 | - '{', | ||
| 760 | + 'Object [console] {', | ||
| 761 | 761 | ' log: [Function: log],', | |
| 762 | 762 | ' warn: [Function: warn],', | |
| 763 | 763 | ' dir: [Function: dir],', | |
| Back | FazBrowse Home | New Git URL |
0 commit comments