Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
method URLSearchParams.prototype.values
import { URLSearchParams } from "https://deno.land/x/tl_log@0.1.2/examples/deploy.d.ts";

Returns an iterator allowing to go through all values contained in this object.

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

Returns

IterableIterator<string>