
洪 民憙 (Hong Minhee)
I just want JavaScript (and every programming language having exceptions) to have an exception-coalescing operator, e.g. (?!
is a hypothetical exception-coalescing operator):
const url = new URL(userProvidedValue, "http://deno.land")
?! new URL("https://deno.land");

Deno
Deno supports the new URL.parse() web API, which provides a simpler control flow for parsing URLs 👇