[whatwg] New URL Standard

Boris Zbarsky bzbarsky at MIT.EDU
Tue Sep 25 19:27:53 PDT 2012


On 9/25/12 10:13 PM, Glenn Maynard wrote:
>     The obvious use case is constructing a URI with a given query by
>     hand, right?
>
> If you already have the "a=1&b=2" string, you can just assign it to
> .search and not use the prepared-query-parameters interface at all.

I was thinking more like you have the arrays ["a", "b"] (hardcoded) and 
[1, 2] (provided by user).

-Boris





More information about the whatwg mailing list