1. document 实际上是 window 对象的属性.用于访问文档的信息.
2. location 对象是 window 对象和 document 对象的属性,所以下面两个引用互相等价.用于访问URL的信息.
3. navigator 对象用于访问浏览器的信息.
4. screen 对象用于访问用户屏幕信息.
1. document 实际上是 window 对象的属性.用于访问文档的信息.
2. location 对象是 window 对象和 document 对象的属性,所以下面两个引用互相等价.用于访问URL的信息.
3. navigator 对象用于访问浏览器的信息.
4. screen 对象用于访问用户屏幕信息.