document.URL vs window.location.href All In One
document.URL vs window.location.href All In One
document.URL 与 window.location.href 两者有啥区别
document.URL;
window.location.href;
??? 啥区别

兼容性 不同
https://caniuse.com/?search=document.URL
https://caniuse.com/?search=window.location.href


Document API
https://developer.mozilla.org/en-US/docs/Web/API/Document/URL
https://developer.mozilla.org/en-US/docs/Web/API/Document/location
Location API
https://developer.mozilla.org/en-US/docs/Web/API/Location
Window Location API
https://developer.mozilla.org/en-US/docs/Web/API/Window/location
refs
https://www.codenong.com/2430936/
https://www.cnblogs.com/wayne173/p/3745997.html#hash
©xgqfrms 2012-2020
www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!
本文首发于博客园,作者:xgqfrms,原文链接:https://www.cnblogs.com/xgqfrms/p/14168177.html
未经授权禁止转载,违者必究!

浙公网安备 33010602011771号