diff options
Diffstat (limited to 'core/core.js')
-rw-r--r-- | core/core.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/core.js b/core/core.js index e5998fbc8..729ca4faa 100644 --- a/core/core.js +++ b/core/core.js @@ -124,6 +124,10 @@ opSync("op_close", rid); } + function print(str, isErr = false) { + opSync("op_print", [str, isErr]); + } + // Provide bootstrap namespace window.__bootstrap = {}; // Extra Deno.core.* exports @@ -132,6 +136,7 @@ opSync, ops, close, + print, resources, registerErrorClass, handleAsyncMsgFromRust, |