Re: [whatwg] New URL Standard

On Tue, Sep 25, 2012 at 8:36 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote:

> On 9/25/12 6:53 PM, Glenn Maynard wrote:
>
>> (Of course, a separate method could exist to get access to the underlying
>> order, if and when real use cases turn up that actually need it, and it's
>> not unlikely that there are use cases--but so far they haven't been
>> raised.
>>
>
> 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.

-- 
Glenn Maynard

Received on Wednesday, 26 September 2012 02:14:04 UTC