Skip to content

Commit

Permalink
url: remove unused kFormat from url
Browse files Browse the repository at this point in the history
PR-URL: #46867
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Tiancheng "Timothy" Gu <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: Filip Skokan <[email protected]>
  • Loading branch information
anonrig authored and targos committed Mar 14, 2023
1 parent 32bd38f commit f8765be
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/internal/url.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ const FORWARD_SLASH = /\//g;

const context = Symbol('context');
const searchParams = Symbol('query');
const kFormat = Symbol('format');

const updateActions = {
kProtocol: 0,
Expand Down Expand Up @@ -794,7 +793,6 @@ class URL {
}

ObjectDefineProperties(URL.prototype, {
[kFormat]: { __proto__: null, configurable: false, writable: false },
[SymbolToStringTag]: { __proto__: null, configurable: true, value: 'URL' },
toString: kEnumerableProperty,
href: kEnumerableProperty,
Expand Down

0 comments on commit f8765be

Please sign in to comment.