ProtectedconstructorProtected Readonly_Protected_Protected_Protected_The href property of the URL interface is a string containing the whole URL.
The href property of the URL interface is a string containing the whole URL.
The password property of the URL interface is a string containing the password component of the URL.
The password property of the URL interface is a string containing the password component of the URL.
The username property of the URL interface is a string containing the username component of the URL.
The username property of the URL interface is a string containing the username component of the URL.
The hash property of the URL interface is a string containing a '#' followed by the fragment identifier of the URL.
The hash property of the URL interface is a string containing a '#' followed by the fragment identifier of the URL.
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 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 hostname property of the URL interface is a string containing either the domain name or IP address of the URL.
The hostname property of the URL interface is a string containing either the domain name or IP address of the URL.
The pathname property of the URL interface represents a location in a hierarchical structure.
The pathname property of the URL interface represents a location in a hierarchical structure.
The port property of the URL interface is a string containing the port number of the URL.
The port property of the URL interface is a string containing the port number of the URL.
The protocol property of the URL interface is a string containing the protocol or scheme of the URL, including the final ':'.
The protocol property of the URL interface is a string containing the protocol or scheme of the URL, including the final ':'.
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 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 searchParams read-only property of the access to the [MISSING: httpmethod('GET')] decoded query arguments contained in the URL.
The searchParams read-only property of the access to the [MISSING: httpmethod('GET')] decoded query arguments contained in the URL.
Static ReadonlyfromStaticfromThe 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.
The
originread-only property of the URL interface returns a string containing the Unicode serialization of the origin of the represented URL.MDN Reference