Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions doc/api/url.md
Original file line number Diff line number Diff line change
Expand Up @@ -907,6 +907,12 @@ If `value` is not provided, removes all name-value pairs whose name is `name`.

#### `urlSearchParams.entries()`

<!-- YAML
added:
- v7.3.0
- v6.13.0
-->

* Returns: {Iterator}

Returns an ES6 `Iterator` over each of the name-value pairs in the query.
Expand All @@ -918,6 +924,9 @@ Alias for [`urlSearchParams[@@iterator]()`][`urlSearchParams@@iterator()`].
#### `urlSearchParams.forEach(fn[, thisArg])`

<!-- YAML
added:
- v7.3.0
- v6.13.0
changes:
- version: v18.0.0
pr-url: https://github.com/nodejs/node/pull/41678
Expand Down Expand Up @@ -984,6 +993,12 @@ pair whose name is `name`.

#### `urlSearchParams.keys()`

<!-- YAML
added:
- v7.3.0
- v6.13.0
-->

* Returns: {Iterator}

Returns an ES6 `Iterator` over the names of each name-value pair.
Expand Down Expand Up @@ -1062,6 +1077,12 @@ percent-encoded where necessary.

#### `urlSearchParams.values()`

<!-- YAML
added:
- v7.3.0
- v6.13.0
-->

* Returns: {Iterator}

Returns an ES6 `Iterator` over the values of each name-value pair.
Expand Down