mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
url: remove unused kFormat from url
PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
1 parent
32bd38fb05
commit
f8765be197
1 file changed
-2
@@ -101,7 +101,6 @@ const FORWARD_SLASH = /\//g;
|
||||
|
||||
const context = Symbol('context');
|
||||
const searchParams = Symbol('query');
|
||||
const kFormat = Symbol('format');
|
||||
|
||||
const updateActions = {
|
||||
kProtocol: 0,
|
||||
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user