URLSearchParams.prototype.entries - Node documentation
method URLSearchParams.prototype.entries

Usage

import { URLSearchParams } from "node:url";

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]>