可能重复: JavaScript中的window.location和document.location有什么区别?
在JavaScript中,双方window并document拥有location财产,并通过两个设定不同的URL,浏览器加载新的URL.
window
document
location
他们之间有什么区别?
javascript browser dom document window
browser ×1
document ×1
dom ×1
javascript ×1
window ×1