location.href 和document.referrer、event.keyCode、setTimeout 与setInterval、前置与后置型递增递减操作符
1、window.location.href 与 document.referrer
window.location.href 设置或返回完整的URL
location.hash 设置或返回#后面的URL(锚点)
document.referrer 属性可返回载入当前文档的文档的URL,即前一个页面。如果当前文档不是通过超级链接访问的 则为null。
2、event.key