diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-09-17 18:42:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-17 18:42:36 +0200 |
commit | c307e3e4be4e02de86103cd48d28f5ba3b18628d (patch) | |
tree | a6c830606fabcd1a08d81ed66ac882a5691f52a2 /cli/rt/20_headers.js | |
parent | bda937938550a0969588a6878d2fb6d72c17b22d (diff) |
refactor: use Symbol.for instead of Symbol in cli/rt/ (#7537)
Diffstat (limited to 'cli/rt/20_headers.js')
-rw-r--r-- | cli/rt/20_headers.js | 3 |
1 files changed, 1 insertions, 2 deletions
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]) { |