summaryrefslogtreecommitdiff
path: root/runtime/js/11_workers.js
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/js/11_workers.js')
-rw-r--r--runtime/js/11_workers.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/runtime/js/11_workers.js b/runtime/js/11_workers.js
index bd0d1afc8..60ea94bf4 100644
--- a/runtime/js/11_workers.js
+++ b/runtime/js/11_workers.js
@@ -1,8 +1,7 @@
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
-const core = globalThis.Deno.core;
+import { core, primordials } from "ext:core/mod.js";
const ops = core.ops;
-const primordials = globalThis.__bootstrap.primordials;
const {
ArrayPrototypeFilter,
Error,