Commit 5d68e4b
test: console constructor missing new keyword
The `console.Console()` constructor function handles a missing `new`
keyword. This code is not exercised in the current tests. Add a test for
this.
PR-URL: #8003
Reviewed-By: Prince John Wesley <princejohnwesley@gmail.com>
Reviewed-By: Yorkie Liu <yorkiefixer@gmail.com>
Reviewed-By: JacksonTian - Jackson Tian <shvyo1987@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>1 parent 97934f9 commit 5d68e4bCopy full SHA for 5d68e4b
File tree
Expand file treeCollapse file tree
1 file changed
+5
-0
lines changedOpen diff view settings
Filter options
- test/parallel
Expand file treeCollapse file tree
1 file changed
+5
-0
lines changedOpen diff view settings
Collapse file
test/parallel/test-console-instance.js
Copy file name to clipboardExpand all lines: test/parallel/test-console-instance.js+5Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
64 | 64 | |
65 | 65 | |
66 | 66 | |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | + |
0 commit comments