screen: 代表屏幕尺寸
例:screen.width
1440
screen.height
900
location:代表当前url的页面信息
host: “www.baidu.com”
href: “https://www.baidu.com/”
protocol: “https:”
reload: ƒ reload() 刷新网页
assign: ƒ assign() 设置新的地址
assign: ƒ assign(‘https://www.baidu.com/’)
document:代表当前页面 html dom文档树
document.title
“百度一下,你就知道”
history
history.back() 后退
history.forward() 前进