method URLSearchParams.toStringURLSearchParams.toString(): stringDeprecatedReturns a query string suitable for use in a URL. searchParams.toString(); Return Typestring