Skip to main content
URLSearchParams.prototype.entries - node__url.d.ts - Node documentation
method URLSearchParams.prototype.entries

Usage in Deno

```typescript import { URLSearchParams } from "node:node__url.d.ts"; ```
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]>