summaryrefslogtreecommitdiff
path: root/ext/console/01_console.js
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2024-01-29 22:02:26 +0100
committerGitHub <noreply@github.com>2024-01-29 22:02:26 +0100
commit345423cf7697326258ce8b32f681910f4a2f77de (patch)
tree484dd157be01e3dc0d4f34f28526dac1804d0250 /ext/console/01_console.js
parent909986fa6ed3404e76590438b387391a6c213e46 (diff)
refactor: Use virtul ops module (#22175)
Follow up to #22157. This leaves us with 4 usages of `ensureFastOps()` in `deno` itself. There's also about 150 usages of `Deno.core.ops.<op_name>` left as well.
Diffstat (limited to 'ext/console/01_console.js')
-rw-r--r--ext/console/01_console.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/console/01_console.js b/ext/console/01_console.js
index 101b7ed1c..b851b4035 100644
--- a/ext/console/01_console.js
+++ b/ext/console/01_console.js
@@ -28,11 +28,11 @@ const {
isWeakMap,
isWeakSet,
} = core;
-const {
+import {
op_get_constructor_name,
op_get_non_index_property_names,
op_preview_entries,
-} = core.ensureFastOps(true);
+} from "ext:core/ops";
const {
Array,
ArrayBufferPrototypeGetByteLength,