mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
url: remove unnecessary call to FunctionPrototypeBind
PR-URL: https://github.com/nodejs/node/pull/46870 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
1 parent
f9739a85cb
commit
b8560ec8cc
1 file changed
-2
@@ -7,7 +7,6 @@ const {
|
||||
ArrayPrototypePush,
|
||||
ArrayPrototypeReduce,
|
||||
ArrayPrototypeSlice,
|
||||
FunctionPrototypeBind,
|
||||
Int8Array,
|
||||
IteratorPrototype,
|
||||
Number,
|
||||
@@ -544,7 +543,6 @@ class URL {
|
||||
// toUSVString is not needed.
|
||||
input = `${input}`;
|
||||
this[context] = new URLContext();
|
||||
this.#onParseComplete = FunctionPrototypeBind(this.#onParseComplete, this);
|
||||
|
||||
if (base !== undefined) {
|
||||
base = `${base}`;
|
||||
|
||||
Reference in new issue
Block a user