Skip to content

Commit 7637f29

Browse files
Kay-Yuanaduh95
authored andcommitted
url: fix typo
PR-URL: #53827 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent ac5d7b7 commit 7637f29

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/internal/url.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ class URLSearchParams {
349349
throw new ERR_ARG_NOT_ITERABLE('Query pairs');
350350
}
351351

352-
// The following implementationd differs from the URL specification:
352+
// The following implementation differs from the URL specification:
353353
// Sequences must first be converted from ECMAScript objects before
354354
// and operations are done on them, and the operation of converting
355355
// the sequences would first exhaust the iterators. If the iterator
@@ -367,7 +367,7 @@ class URLSearchParams {
367367
if (pair.length !== 2) {
368368
throw new ERR_INVALID_TUPLE('Each query pair', '[name, value]');
369369
}
370-
// Append (innerSequence[0], innerSequence[1]) to querys list.
370+
// Append (innerSequence[0], innerSequence[1]) to query's list.
371371
ArrayPrototypePush(
372372
this.#searchParams,
373373
StringPrototypeToWellFormed(`${pair[0]}`),

0 commit comments

Comments
 (0)