Skip to content

Commit 3db235b

Browse files
anonrigdanielleadams
authored andcommitted
url: remove unused kFormat from url
PR-URL: #46867 Backport-PR-URL: #48345 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]>
1 parent 5d910ca commit 3db235b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/internal/url.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ const FORWARD_SLASH = /\//g;
103103

104104
const context = Symbol('context');
105105
const searchParams = Symbol('query');
106-
const kFormat = Symbol('format');
107106

108107
const updateActions = {
109108
kProtocol: 0,
@@ -815,7 +814,6 @@ class URL {
815814
}
816815

817816
ObjectDefineProperties(URL.prototype, {
818-
[kFormat]: { __proto__: null, configurable: false, writable: false },
819817
[SymbolToStringTag]: { __proto__: null, configurable: true, value: 'URL' },
820818
toString: kEnumerableProperty,
821819
href: kEnumerableProperty,

0 commit comments

Comments
 (0)