@hongminhee@hollo.social
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");

fosstodon.org
Deno (@deno_land@fosstodon.org)
Attached: 1 image Deno supports the new URL.parse() web API, which provides a simpler control flow for parsing URLs 👇 #deno #nodejs #WebDev #typescript #javascript

