- From: Domenic Denicola <notifications@github.com>
- Date: Wed, 10 Jul 2019 13:30:44 -0700
- To: whatwg/url <url@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 10 July 2019 20:31:06 UTC
The problem is you can't build a URL step-by-step. Each part affects the whole. It's not really a sensible operation in the URL data model. I suggest people just use the following: ```js Object.assign(new URL("https://example.com/"), { ... pieces go here ... }); ``` -- 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/354#issuecomment-510217069
Received on Wednesday, 10 July 2019 20:31:06 UTC