const p = new URLSearchParams('x=1')
p.delete('z') // no-op if key doesn't existdelete() is safe to call even if the key does not exist.
params.toString() returns the params serialized as a query string (without the leading ?).
Challenge: Verify the serialized output.