From f248e6f1778dc26db91d3322de2ecca5d1aa9866 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Thu, 27 Jan 2022 16:27:22 +0100 Subject: Revert "refactor: update runtime code for primordial checks for "instanceof" (#13497)" (#13511) This reverts commit 884143218fad0e18f7553aaf079d52de703f7601. --- core/01_core.js | 4 ---- 1 file changed, 4 deletions(-) (limited to 'core') diff --git a/core/01_core.js b/core/01_core.js index d9a110eea..66530f7d5 100644 --- a/core/01_core.js +++ b/core/01_core.js @@ -195,7 +195,6 @@ this.name = "BadResource"; } } - const BadResourcePrototype = BadResource.prototype; class Interrupted extends Error { constructor(msg) { @@ -203,7 +202,6 @@ this.name = "Interrupted"; } } - const InterruptedPrototype = Interrupted.prototype; // Extra Deno.core.* exports const core = ObjectAssign(globalThis.Deno.core, { @@ -223,9 +221,7 @@ opresolve, syncOpsCache, BadResource, - BadResourcePrototype, Interrupted, - InterruptedPrototype, }); ObjectAssign(globalThis.__bootstrap, { core }); -- cgit v1.2.3