diff options
author | Yusuke Tanaka <yusuktan@maguro.dev> | 2021-07-26 20:52:59 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-26 13:52:59 +0200 |
commit | 865d9ddd51dcc8776bf8c3976057e2f29a1a5af2 (patch) | |
tree | ecaf2293a4534726c56722875c628ea14bfad559 /extensions/url/00_url.js | |
parent | df26a3563edd501380d5d5da5138eb67acb06645 (diff) |
refactor: use `primordials` in runtime, extensions and core (#11500)
Diffstat (limited to 'extensions/url/00_url.js')
-rw-r--r-- | extensions/url/00_url.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/extensions/url/00_url.js b/extensions/url/00_url.js index 172a5f62d..f3c12d0c2 100644 --- a/extensions/url/00_url.js +++ b/extensions/url/00_url.js @@ -20,8 +20,10 @@ ObjectKeys, StringPrototypeSlice, Symbol, + SymbolFor, SymbolIterator, SymbolToStringTag, + TypeError, } = window.__bootstrap.primordials; const _list = Symbol("list"); @@ -280,7 +282,7 @@ this[_url] = parts; } - [Symbol.for("Deno.privateCustomInspect")](inspect) { + [SymbolFor("Deno.privateCustomInspect")](inspect) { const object = { href: this.href, origin: this.origin, |