W3C home > Mailing lists > Public > public-script-coord@w3.org > July to September 2013

Re: URLQuery / FormData

From: Anne van Kesteren <annevk@annevk.nl>
Date: Tue, 10 Sep 2013 16:14:57 +0100
Message-ID: <CADnb78jnRb889-rhvZTpx7YAAi08KXDPOPwzR1DmmbUV57LTUA@mail.gmail.com>
To: Domenic Denicola <domenic@domenicdenicola.com>
Cc: Jonas Sicking <jonas@sicking.cc>, "public-script-coord@w3.org" <public-script-coord@w3.org>
On Tue, Sep 10, 2013 at 3:44 PM, Domenic Denicola
<domenic@domenicdenicola.com> wrote:
> Finally, only tangentially related: what is your plan for
>
> ```js
> const q = new URLQuery();
> q.append('key', 'val1');
> q.get('key').push('val2');
> q.get('key')[999] = 'val999';
> ```

The array returned would be a copy of the underlying values and
modifying it would not modify URLQuery. Similar if we keep the name
getAll() for that.


-- 
http://annevankesteren.nl/
Received on Tuesday, 10 September 2013 15:15:24 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:37:50 UTC