- From: Timothy Gu <notifications@github.com>
- Date: Wed, 11 Aug 2021 09:23:32 -0700
- To: whatwg/url <url@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 11 August 2021 16:23:44 UTC
This technically isn't supported by Web IDL at the moment. Could you instead do ```js function toStringWithoutFragment(url) { const u2 = new URL(url); u2.hash = ''; return String(u2); } ``` -- 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/628#issuecomment-896967833
Received on Wednesday, 11 August 2021 16:23:44 UTC