Commit 747c642
committed
fix(console): extra stack property is printed after the stack trace
In SpiderMonkey, when changing the `stack` property of an `Error` object, `stack` becomes an enumerable property, while V8 doesn't.
Our `util.inspect`/`util.format` code was copied from Node.js, so it won't handle the difference.1 parent a2f1d8b commit 747c642
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
533 | 533 | | |
534 | 534 | | |
535 | 535 | | |
536 | | - | |
| 536 | + | |
537 | 537 | | |
| 538 | + | |
538 | 539 | | |
539 | 540 | | |
540 | 541 | | |
| |||
0 commit comments