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