- From: Tim Ruffles <notifications@github.com>
- Date: Fri, 12 Aug 2016 06:41:44 -0700
- To: whatwg/url <url@noreply.github.com>
Received on Friday, 12 August 2016 14:12:02 UTC
It'd be really convenient if you could initialize a search params with an object. It'd cover a lot of use-cases far more concisely than having to imperatively mutate an object post-construction:
```javascript
new URLSearchParams({
some: dynamicValue,
[aDynamicKey]: dynamicValue,
});
```
Equally it'd be nice if this worked with a `Map`, or iterators that produce `[k,v]` tuples.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/issues/141
Received on Friday, 12 August 2016 14:12:02 UTC