Re: [whatwg/url] Expose a URLHost class to JavaScript (#288)

mikewest left a comment (whatwg/url#288)

> If you don't want to allow ports you could check for that to be null. So maybe `URLHostAndPort` is indeed the way. It would be nice to avoid having two objects for mostly the same operation.

That's also how I'd evaluate it, FWIW.

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

Message ID: <whatwg/url/pull/288/c3352619219@github.com>

Received on Tuesday, 30 September 2025 14:59:01 UTC