The attributes of the object referred to by this property can be read or written to cause the window content to be reloaded under script control.
The object itself ought to be considered read only but its properties are modifiable. Consult the document for the location object for details of what you can read or write. In particular, refer to the window.location.href value as a way to load a new document into the window.
Do not confuse this location object with that belonging to the document. They are different.
Older versions of the web browsers used to treat this property as a read/write string containing the URL. The access to the URL value is now via the properties of the object referred to by this property and not via the property itself.