This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
"whatwg-url-without-unicode" incorrectly matches URL.searchParams.has to `true` | |
when given a different value as the second argument. | |
If the first line is commented in node or a browser console | |
the result is `false` but with the library's implementation of URL you get a wrong match | |
*/ |