JavaScript is a scripting language that uses objects. For example, your browser window is an object, which contains the document object. We can refer to these objects via JavaScript by using "window.document."
The following includes several properties of the window.document object. These properties are referenced with the following code:
window.document.URL - This property gives the domain name and path on the server or computerHere are the window.document properties for this page: