href: https://webcodingcenter.com/html-dom/Using_Location-78m3.html?q=123#body
protocol: https:
host: webcodingcenter.com
hostname: webcodingcenter.com
port:
pathname: /html-dom/Using_Location-78m3.html
search: ?q=123
hash: #body
origin: https://webcodingcenter.com
toString: https://webcodingcenter.com/html-dom/Using_Location-78m3.html?q=123#body