Skip to main content
Version: 3.14.1

URLSearchParams.delete()

The delete() method of the URLSearchParams interface deletes the given search parameter and all its associated values, from the list of all search parameters.

Syntax

delete(name)

Parameters

  • name
    • : The name of the parameter to be deleted.

Return value

None undefined.