location & location.href can be used to change or return a complete address of your current page. They return a string which contains entire URL with protocol.
location = "https://www.owlasylum.net";
or
location.href = "https://www.owlasylum.net";
location & location.href can be used to change or return a complete address of your current page. They return a string which contains entire URL with protocol.
location = "https://www.owlasylum.net";
or
location.href = "https://www.owlasylum.net";