Re: [whatwg] URL: URLQuery

Since a URL query string is not a strict map with only one value for a
key, would the get/set operations allow for an array as well as an
atomic value?


On Fri, Oct 12, 2012 at 3:02 PM, Glenn Maynard <glenn@zewt.org> wrote:
>
> The object paradigm is more natural for the common case:
>
> query.values["key"] = value; // get()
> console.log(query.values["key"]); // set()
> delete query.values["key"]; // delete()
> query.getAll("key"); // stays as-is
>

Received on Saturday, 13 October 2012 20:40:03 UTC