Skip to main content

entries

method URLSearchParams.prototype.entries
Jump to headingURLSearchParams.prototype.entries(): IterableIterator<[string, string]>

Returns an ES6 Iterator over each of the name-value pairs in the query. Each item of the iterator is a JavaScript Array. The first item of the Array is the name, the second item of the Array is the value.

Alias for urlSearchParams[@@iterator]().

Return Type Jump to heading

IterableIterator<[string, string]>
Back to top