Skip to main content
URLSearchParams.prototype.entries - url - Node documentation
method URLSearchParams.prototype.entries

Usage in Deno

import { URLSearchParams } from "node:url";
URLSearchParams.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

IterableIterator<[string, string]>
Back to top