summaryrefslogtreecommitdiff
path: root/ext/web/00_infra.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/web/00_infra.js')
-rw-r--r--ext/web/00_infra.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/web/00_infra.js b/ext/web/00_infra.js
index e42f2cc93..4b241ab5d 100644
--- a/ext/web/00_infra.js
+++ b/ext/web/00_infra.js
@@ -133,7 +133,7 @@ function regexMatcher(chars) {
);
return `\\u${a}-\\u${b}`;
} else {
- throw TypeError("unreachable");
+ throw new TypeError("unreachable");
}
});
return ArrayPrototypeJoin(matchers, "");