the-editor 3 years ago

Javascript Speedo

Just Copy Paste...


examplefunctionresult
https://localhost:4200/landing?query=1#2
window.location.href"https://localhost:4200/landing?query=1#2"

window.location.origin"https://localhost:4200"

window.location.host"localhost:4200"

window.location.hostname"localhost"

window.location.protocol"https:"

window.location.port"4200"

window.location.pathname"/landing"

window.location.search"?query=1"

window.location.hash"#2"