URLSearchParams.set()
Description
Sets the value or values of a name.
Syntax
urlSearchParams.set(name, value)
Parameters
set(name, value)
namevalue
The name of the value to update.
A value or an array of values to update for the specified name.
Sets the value or values of a name.
urlSearchParams.set(name, value)
set(name, value)
The name of the value to update.
A value or an array of values to update for the specified name.