The append() method of the URLSearchParams interface appends a specified key/value pair as a new search parameter.
append()
MDN Reference