diff --git a/lib/internal/url.js b/lib/internal/url.js index 34fb672ecb62b8..4103775560644e 100644 --- a/lib/internal/url.js +++ b/lib/internal/url.js @@ -343,7 +343,7 @@ class URLSearchParams { throw new ERR_ARG_NOT_ITERABLE('Query pairs'); } - // The following implementationd differs from the URL specification: + // The following implementation differs from the URL specification: // Sequences must first be converted from ECMAScript objects before // and operations are done on them, and the operation of converting // the sequences would first exhaust the iterators. If the iterator @@ -361,7 +361,7 @@ class URLSearchParams { if (pair.length !== 2) { throw new ERR_INVALID_TUPLE('Each query pair', '[name, value]'); } - // Append (innerSequence[0], innerSequence[1]) to querys list. + // Append (innerSequence[0], innerSequence[1]) to query's list. ArrayPrototypePush( this.#searchParams, StringPrototypeToWellFormed(`${pair[0]}`),