method URLSearchParams.toString
URLSearchParams.toString(): string

Returns a query string suitable for use in a URL.

searchParams.toString();

Return Type

string