Skip to content

Commit 325eae0

Browse files
Kay-Yuanmarco-ippolito
authored andcommitted
url: fix typo
PR-URL: #53827 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent bff6995 commit 325eae0

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
@@ -343,7 +343,7 @@ class URLSearchParams {
343343
throw new ERR_ARG_NOT_ITERABLE('Query pairs');
344344
}
345345

346-
// The following implementationd differs from the URL specification:
346+
// The following implementation differs from the URL specification:
347347
// Sequences must first be converted from ECMAScript objects before
348348
// and operations are done on them, and the operation of converting
349349
// the sequences would first exhaust the iterators. If the iterator
@@ -361,7 +361,7 @@ class URLSearchParams {
361361
if (pair.length !== 2) {
362362
throw new ERR_INVALID_TUPLE('Each query pair', '[name, value]');
363363
}
364-
// Append (innerSequence[0], innerSequence[1]) to querys list.
364+
// Append (innerSequence[0], innerSequence[1]) to query's list.
365365
ArrayPrototypePush(
366366
this.#searchParams,
367367
StringPrototypeToWellFormed(`${pair[0]}`),

0 commit comments

Comments
 (0)