Skip to main content
Module

x/netzo/deno.d.ts>URLSearchParams#[Symbol.iterator]

SDK for Netzo, the open Web platform to unify IoT devices, applications and services.
Go to Latest
method URLSearchParams.prototype.[Symbol.iterator]
import { URLSearchParams } from "https://deno.land/x/netzo@v0.1.10/deno.d.ts";

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

const params = new URLSearchParams([["a", "b"], ["c", "d"]]);
for (const [key, value] of params) {
  console.log(key, value);
}

Returns

IterableIterator<[string, string]>