Skip to main content

values

method URLSearchParams.values
Jump to headingURLSearchParams.values(): IterableIterator<string>

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);
}

Return Type Jump to heading

IterableIterator<string>
Back to top