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

I'd argue that it's definitely better to make capturing that stack more efficient just in general but I don't think that eliminates to usefulness of the proposed new API. For instance, suppose I am filtering a list of strings to acquire only the ones that are parseable URLs e.g. `array.filter(URL.isParseable)` is a lot more ergonomic than having to wrap the check in another function that includes a try/catch for every iteration. 

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

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

Received on Tuesday, 8 November 2022 00:37:26 UTC