method URLSearchParams.prototype.toStringURLSearchParams.prototype.toString(): stringDeprecatedReturns the search parameters serialized as a string, with characters percent-encoded where necessary. Return Typestring