Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 325eae0

Browse filesBrowse 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
Copy full SHA for 325eae0

1 file changed

+2-2Lines changed: 2 additions & 2 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎lib/internal/url.js‎

Copy file name to clipboardExpand all lines: lib/internal/url.js
+2-2Lines changed: 2 additions & 2 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.