JavaScript: window.location

Self-tutoring about JavaScript: the tutor mentions the object window.location

JavaScript has the window.location object, which contains information about the current page open in the browser. For instance, window.location.origin will give the url of the current page.

Source:

w3schools.com

Jack of Oracle Tutoring by Jack and Diane, Campbell River, BC.

Leave a Reply