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 <matteo.collina@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Filip Skokan <panva.ip@gmail.com>
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

-2
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)