JS中的location屬性

location屬性通常引用自Location對象,能夠用於獲取或者設置當前的URL。web window.location === document.location; //true 均引用自Location對象; URL的通常組成包括:瀏覽器 eg: protocol://[user[:password]@]hostname:[port][/path][?query][#fragment]
相關文章
相關標籤/搜索