Re: [whatwg/url] URLSearchParams with repeated parameters (Issue #851)

Can you explain what you main with code?
```js
const x = new URLSearchParams("?q=1&q=2");
console.log(x.getAll("q")); // ["1", "2"]
x.append("y", "3");
x.append("y", "4");
console.log(x.getAll("y")); // ["3", "4"]
w(x.toString()); // "q=1&q=2&y=3&y=4"
```

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

Message ID: <whatwg/url/issues/851/2555469771@github.com>

Received on Thursday, 19 December 2024 18:06:21 UTC