Re: [whatwg/url] URLSearchParams delete all vs delete one (#335)

Would there be no scope to pass an argument for removing all matching pairs with the default being singular (or vice versa)? I definitely think tbh the most common situation is that if someone has tried to remove a pair, they will expect the result to not have the pair.
On 23 Nov 2022, 4:53 PM +0000, whatwg/url ***@***.***>, wrote:
>
> whether it removes a single matching k/v pair or all matching pairs, I can see arguments either way, but I lean towards just removing one


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

Message ID: <whatwg/url/issues/335/1325474545@github.com>

Received on Wednesday, 23 November 2022 18:13:49 UTC