From c307e3e4be4e02de86103cd48d28f5ba3b18628d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Thu, 17 Sep 2020 18:42:36 +0200 Subject: refactor: use Symbol.for instead of Symbol in cli/rt/ (#7537) --- cli/rt/20_headers.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cli/rt/20_headers.js') diff --git a/cli/rt/20_headers.js b/cli/rt/20_headers.js index 7b9ef8c8e..ccde77e8d 100644 --- a/cli/rt/20_headers.js +++ b/cli/rt/20_headers.js @@ -3,7 +3,6 @@ ((window) => { const { DomIterableMixin } = window.__bootstrap.domIterable; const { requiredArguments } = window.__bootstrap.webUtil; - const { customInspect } = window.__bootstrap.console; // From node-fetch // Copyright (c) 2016 David Frank. MIT License. @@ -194,7 +193,7 @@ } } - [customInspect]() { + [Symbol.for("Deno.customInspect")]() { let length = this[headersData].length; let output = ""; for (const [key, value] of this[headersData]) { -- cgit v1.2.3