urlObject.host


host 属性是网址的完整小写主机部分,包括 port(如果指定)。

例如:'sub.example.com:8080'

The host property is the full lower-cased host portion of the URL, including the port if specified.

For example: 'sub.example.com:8080'.