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

I don't think there's a clear "most common" situation. For example, if you're using PHP it's common to have several inputs named `foo[]`, which will translate into  `$_GET['foo']` being an array of the values on the server-side, and it's not unreasonable for several of these to have the same value, too. I can easily imagine wanting to remove all the duplicate values or just a single one, depending on your specific use-case.

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

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

Received on Wednesday, 23 November 2022 19:10:50 UTC