URLSearchParams
Values
append
Appends a specified key/value pair as a new search parameter. Read more on MDN
delete
Deletes the given search parameter, and its associated value, from the list of all search parameters. Read more on MDN
get
Returns the first value associated to the given search parameter. Read more on MDN
getAll
Returns all the values association with a given search parameter. Read more on MDN
has
Returns a Boolean indicating if such a search parameter exists. Read more on MDN
make
make2
set
Sets the value associated to a given search parameter to the given value. If there were several values, delete the others. Read more on MDN