Re: [whatwg/url] Convenience method to return an Object (#143)

@annevk iterator is fine, it's just everyone will need to write the content of `toObject()` above.

If API minimisation is the goal here, why is this modelled as a mutable object? Why not just `URLSearchParams.parse` and `URLSearchParams.format`, each expecting/returning `[string, string][]` to make the ordered and potentially duplicated nature of query strings explicit?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/issues/143#issuecomment-240394789

Received on Wednesday, 17 August 2016 12:21:42 UTC