summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/examples/http_bench_json_ops/http_bench_json_ops.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/examples/http_bench_json_ops/http_bench_json_ops.js b/core/examples/http_bench_json_ops/http_bench_json_ops.js
index 493574fe7..6cf2a8be2 100644
--- a/core/examples/http_bench_json_ops/http_bench_json_ops.js
+++ b/core/examples/http_bench_json_ops/http_bench_json_ops.js
@@ -5,11 +5,11 @@
// deno-lint-ignore-file camelcase
-const { op_listen } = Deno[Deno.internal].core.ops;
+const { op_listen } = Deno.core.ops;
const {
op_accept,
op_read_socket,
-} = core.generateAsyncOpHandler(
+} = Deno.core.generateAsyncOpHandler(
"op_accept",
"op_read_socket",
);