Converts a URL object to a full path string, including pathname, search parameters, and hash.
The URL object to convert to a path string.
A complete path string representation of the URL.
Converts a URL object to a full path string, including pathname, search parameters, and hash.