Merge to SearchURLParams objects
const a = new URLSearchParams()
const b = new URLSearchParams()
const combined = new URLSearchParams({
...Object.fromEntries(a),
...Object.fromEntries(b),
})
const a = new URLSearchParams()
const b = new URLSearchParams()
const combined = new URLSearchParams({
...Object.fromEntries(a),
...Object.fromEntries(b),
})