Re: [whatwg/url] URLSearchParams append/set: variadic values argument? (Issue #762)

As I said, I can live with the variadic approach. I don't prefer it because discoverability is weakened. If I'm on one runtime that has implemented this and I write `params.append("foo", "abc", "xyz")` then run that code on another runtime that hasn't implemented this, it is not going to be immediately apparent why the "xyz" is not showing up, leading to subtle bugs. Alternatively, using a new method like `params.appendAll(...)`, I would get a clear error when the API has not been implemented.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/issues/762#issuecomment-1476869687
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/url/issues/762/1476869687@github.com>

Received on Monday, 20 March 2023 20:14:33 UTC