diff options
Diffstat (limited to 'js/globals.ts')
-rw-r--r-- | js/globals.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/js/globals.ts b/js/globals.ts index 93fe6dbe7..4bb40fdb5 100644 --- a/js/globals.ts +++ b/js/globals.ts @@ -52,6 +52,7 @@ Object.freeze(window.Deno); // by ObjectCreate(%ObjectPrototype%), instead of %ObjectPrototype%. let console = Object.create({}) as consoleTypes.Console; Object.assign(console, new consoleTypes.Console(core.print)); +console[consoleTypes.isConsoleInstance] = true; // Globally available functions and object instances. window.atob = textEncoding.atob; |