method URLSearchParams.delete Private URLSearchParams.delete(name: string,value?: string,): void Deletes search parameters that match a name, and optional value, from the list of all search parameters. let searchParams = new URLSearchParams([['name', 'value']]); searchParams.delete('name'); searchParams.delete('name', 'value'); Parameters name: string optional value: string Return Type void