window.location (Legacy)
Note: Javascript 1.0, window.location as a String, NOW, It is still accepted by all browsers
alert(window.location)
Set window.location='https://google.com';