The host property of the URL interface is a string containing the host, which is the URL.hostname, and then, if the port of the URL is nonempty, a ':', followed by the URL.port of the URL.
The search property of the URL interface is a search string, also called a query string, that is a string containing a '?' followed by the parameters of the URL.
The toJSON() method of the URL interface returns a string containing a serialized version of the URL, although in practice it seems to have the same effect as ``js-nolint toJSON() `` None.