method URLSearchParams.toString Private URLSearchParams.toString(): string Returns a query string suitable for use in a URL. searchParams.toString(); Return Type string