Skip to main content
URLSearchParams.prototype.delete - url - Node documentation
method URLSearchParams.prototype.delete

Usage in Deno

import { URLSearchParams } from "node:url";
URLSearchParams.prototype.delete(
name: string,
value?: string,
): void

If 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.

Parameters

name: string
optional
value: string

Return Type

void
Back to top