Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
method URLSearchParams.prototype.delete

Deletes the given search parameter and its associated value, from the list of all search parameters.

let searchParams = new URLSearchParams([['name', 'value']]);
searchParams.delete('name');

Parameters

name: string