Re:The problem with new URL(), and how URL.parse() fixes that
by symlinkk on Monday May 20, 2024 @11:13AM
(#40416447)
Why is a public constructor with a string an anti pattern? 99% of the use case is parsing a string, and 99% of the users are going to try using the constructor first.
[ Parent
| on HN ]
There are no comments on this comment yet.