
The Coding Studio Inc. Tips
URL.canParse
Published: 2023-07-17
Parsing of URLs on the client side has been a common practice for two decades. The early days included using illegible regular expressions but the JavaScript specification eventually evolved into a new URL method of parsing URLs. While URL is incredibly useful when a valid URL is provided, an invalid string will throw an error […] The post URL.canParse appeared first on David Walsh Blog.