Skip to content

Commit f8765be

Browse files
anonrigtargos
authored andcommitted
url: remove unused kFormat from url
PR-URL: #46867 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 32bd38f commit f8765be

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
@@ -101,7 +101,6 @@ const FORWARD_SLASH = /\//g;
101101

102102
const context = Symbol('context');
103103
const searchParams = Symbol('query');
104-
const kFormat = Symbol('format');
105104

106105
const updateActions = {
107106
kProtocol: 0,
@@ -794,7 +793,6 @@ class URL {
794793
}
795794

796795
ObjectDefineProperties(URL.prototype, {
797-
[kFormat]: { __proto__: null, configurable: false, writable: false },
798796
[SymbolToStringTag]: { __proto__: null, configurable: true, value: 'URL' },
799797
toString: kEnumerableProperty,
800798
href: kEnumerableProperty,

0 commit comments

Comments
 (0)