- From: Domenic Denicola <notifications@github.com>
- Date: Thu, 12 Jan 2017 08:27:40 -0800
- To: whatwg/url <url@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 12 January 2017 16:28:36 UTC
How do people feel about my suggestion of a `.sorted()` that returns a new instance, instead of a `.sort()` that mutates the URLSearchParams instance? I guess maybe `.sort()` is more what JavaScript programmers expect. You can do a non-destructive sort via ```js const sorted = (new URLSearchParams(usp)).sort(); ``` I suppose. -- 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/26#issuecomment-272210074
Received on Thursday, 12 January 2017 16:28:36 UTC