method URLSearchParams.prototype.deleteURLSearchParams.prototype.delete(name: string,value?: string,): voidDeprecatedIf value is provided, removes all name-value pairs where name is name and value is value. If value is not provided, removes all name-value pairs whose name is name. Parametersname: stringoptionalvalue: stringReturn Typevoid