Skip to main content
Module

x/deno/js/url_search_params.ts>URLSearchParams#entries

A modern runtime for JavaScript and TypeScript.
Go to Latest
method URLSearchParams.prototype.entries
import { URLSearchParams } from "https://deno.land/x/deno@v0.1.12/js/url_search_params.ts";

Returns an iterator allowing to go through all key/value pairs contained in this object.

  for (const [key, value] of searchParams.entries()) {
    console.log(key, value);
  }

Returns

Iterable<[string, string]>