Re: [whatwg/url] Proposal: URL.isValid (Issue #713)

> How would that be different from what new URL() does?

The key difference would be no allocations, in particular no Error object created if it does not parse, and therefore no expensive stack capture. 

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

Message ID: <whatwg/url/issues/713/1282329130@github.com>

Received on Tuesday, 18 October 2022 12:44:04 UTC