GeezerVison is showing github.com — url: fix typo · nodejs/node@325eae0
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: lib/internal/url.js +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -343,7 +343,7 @@ class URLSearchParams { |
343 | 343 | throw new ERR_ARG_NOT_ITERABLE('Query pairs'); |
344 | 344 | } |
345 | 345 |
|
346 | | - // The following implementationd differs from the URL specification: |
| 346 | + // The following implementation differs from the URL specification: |
347 | 347 | // Sequences must first be converted from ECMAScript objects before |
348 | 348 | // and operations are done on them, and the operation of converting |
349 | 349 | // the sequences would first exhaust the iterators. If the iterator |
@@ -361,7 +361,7 @@ class URLSearchParams { |
361 | 361 | if (pair.length !== 2) { |
362 | 362 | throw new ERR_INVALID_TUPLE('Each query pair', '[name, value]'); |
363 | 363 | } |
364 | | - // Append (innerSequence[0], innerSequence[1]) to querys list. |
| 364 | + // Append (innerSequence[0], innerSequence[1]) to query's list. |
365 | 365 | ArrayPrototypePush( |
366 | 366 | this.#searchParams, |
367 | 367 | StringPrototypeToWellFormed(`${pair[0]}`), |
|