[whatwg] URL: URLQuery
Mike Dierken
mike at dierken.com
Sat Oct 13 13:39:35 PDT 2012
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 at 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
>
More information about the whatwg
mailing list