Commit 4c62892a authored by Rich Trott's avatar Rich Trott
Browse files

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: https://github.com/nodejs/node/pull/8003


Reviewed-By: default avatarPrince John Wesley <princejohnwesley@gmail.com>
Reviewed-By: default avatarYorkie Liu <yorkiefixer@gmail.com>
Reviewed-By: default avatarJacksonTian - Jackson Tian <shvyo1987@gmail.com>
Reviewed-By: default avatarColin Ihrig <cjihrig@gmail.com>
parent 8726a1c3
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment