JavaScript location 对象
🌙
手机阅读
本文目录结构
JavaScript location 对象
ancestorOrigins: DOMStringList {length: 0}
origin: "http://localhost:1313"
protocol: "http:"
host: "localhost:1313"
hostname: "localhost"
port: "1313"
pathname: "/anbang/js/bom/01.html"
search: ""
hash: ""
href: "http://localhost:1313/anbang/js/bom/01.html"
assign: ƒ assign()
reload: ƒ reload()
toString: ƒ toString()
replace: ƒ replace()
valueOf: ƒ valueOf()
Symbol(Symbol.toPrimitive): undefined