From 345423cf7697326258ce8b32f681910f4a2f77de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Mon, 29 Jan 2024 22:02:26 +0100 Subject: 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.` left as well. --- ext/console/01_console.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/console') 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, -- cgit v1.2.3