summaryrefslogtreecommitdiff
path: root/cli/rt/01_web_util.js
diff options
context:
space:
mode:
Diffstat (limited to 'cli/rt/01_web_util.js')
-rw-r--r--cli/rt/01_web_util.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/cli/rt/01_web_util.js b/cli/rt/01_web_util.js
index 1b7f7b83a..ee8992eb2 100644
--- a/cli/rt/01_web_util.js
+++ b/cli/rt/01_web_util.js
@@ -1,6 +1,8 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
((window) => {
+ const illegalConstructorKey = Symbol("illegalConstructorKey");
+
function isInvalidDate(x) {
return isNaN(x.getTime());
}
@@ -146,6 +148,7 @@
}
window.__bootstrap.webUtil = {
+ illegalConstructorKey,
isInvalidDate,
requiredArguments,
immutableDefine,