URLSearchParams.values - Web documentation
method URLSearchParams.values
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>