Kilian Valkhof personal blog
The problem with new URL(), and how URL.parse() fixes that
As someone building a browser I need to parse a lot of URLs. Partially to validate them, but also to normalize them or get specific parts out of the URL. The URL API in browsers lets you do that, but it’s ergonomics aren’t ideal. The problem with new URL() The “new” in front of new […]
- Points
- 130
- HN comments
- 171
- Submissions
- 1
- Cited by
- 0 commenters
Web & FrontendSoftware Engineering2024
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| May 19, 2024 | The problem with new URL(), and how URL.parse() fixes that by fagnerbrack | 130 | 171 |