summaryrefslogtreecommitdiff
path: root/runtime/js/99_main.js
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/js/99_main.js')
-rw-r--r--runtime/js/99_main.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/runtime/js/99_main.js b/runtime/js/99_main.js
index 050cd3bf8..22352bf29 100644
--- a/runtime/js/99_main.js
+++ b/runtime/js/99_main.js
@@ -3,10 +3,8 @@
// Remove Intl.v8BreakIterator because it is a non-standard API.
delete Intl.v8BreakIterator;
-const core = globalThis.Deno.core;
+import { core, internals, primordials } from "ext:core/mod.js";
const ops = core.ops;
-const internals = globalThis.__bootstrap.internals;
-const primordials = globalThis.__bootstrap.primordials;
const {
ArrayPrototypeFilter,
ArrayPrototypeIncludes,