location

This property is used to define the URL of the document currently loaded into the window. The document URL(s) loaded into separate frames can also be defined.

syntax:

document.location = "URL"

This Property is used to access attributes of the following:

document
window