summaryrefslogtreecommitdiff
path: root/js/console_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'js/console_test.ts')
-rw-r--r--js/console_test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/console_test.ts b/js/console_test.ts
index 99a890e01..cbfbdb52a 100644
--- a/js/console_test.ts
+++ b/js/console_test.ts
@@ -111,8 +111,8 @@ test(function consoleTestStringifyWithDepth() {
test(function consoleTestError() {
class MyError extends Error {
- constructor(msg: string) {
- super(msg);
+ constructor(errStr: string) {
+ super(errStr);
this.name = "MyError";
}
}