Skip to content

Commit

Permalink
url: remove unnecessary call to FunctionPrototypeBind
Browse files Browse the repository at this point in the history
PR-URL: #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>
  • Loading branch information
aduh95 authored and targos committed Mar 14, 2023
1 parent f9739a8 commit b8560ec
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/internal/url.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ const {
ArrayPrototypePush,
ArrayPrototypeReduce,
ArrayPrototypeSlice,
FunctionPrototypeBind,
Int8Array,
IteratorPrototype,
Number,
Expand Down Expand Up @@ -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}`;
Expand Down

0 comments on commit b8560ec

Please sign in to comment.