GeezerVison is showing github.com — url: fix typo · nodejs/node@7637f29
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 |
|---|
@@ -349,7 +349,7 @@ class URLSearchParams { |
349 | 349 | throw new ERR_ARG_NOT_ITERABLE('Query pairs'); |
350 | 350 | } |
351 | 351 |
|
352 | | - // The following implementationd differs from the URL specification: |
| 352 | + // The following implementation differs from the URL specification: |
353 | 353 | // Sequences must first be converted from ECMAScript objects before |
354 | 354 | // and operations are done on them, and the operation of converting |
355 | 355 | // the sequences would first exhaust the iterators. If the iterator |
@@ -367,7 +367,7 @@ class URLSearchParams { |
367 | 367 | if (pair.length !== 2) { |
368 | 368 | throw new ERR_INVALID_TUPLE('Each query pair', '[name, value]'); |
369 | 369 | } |
370 | | - // Append (innerSequence[0], innerSequence[1]) to querys list. |
| 370 | + // Append (innerSequence[0], innerSequence[1]) to query's list. |
371 | 371 | ArrayPrototypePush( |
372 | 372 | this.#searchParams, |
373 | 373 | StringPrototypeToWellFormed(`${pair[0]}`), |
|