Skip to main content
URLSearchParams.values - URL - Web documentation
method URLSearchParams.values
Private
URLSearchParams.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

IterableIterator<string>
Back to top