[whatwg] [URL] DOM API Feedback

Anne van Kesteren annevk at annevk.nl
Sun Nov 18 15:17:54 PST 2012


On Sun, Nov 18, 2012 at 11:34 PM, David Bruant <bruant.d at gmail.com> wrote:
> I feel the URLQuery object could be a regular object. Or maybe an ES6 Map.
> If not an ES6 Map, maybe its API could be mapped exactly to ES6 Map. It
> would increase interoperability.

It cannot be a regular object because it modifies an underlying
string. I suppose the same goes for ES6 Map. And URLQuery represents
an ordered list of key-value pairs so I'm not sure how close it can
be.


-- 
http://annevankesteren.nl/



More information about the whatwg mailing list