syntax of window.location in javascript code example
Example: window location javascript
console.log ('url actual: '+window.location.href);
console.log ('url actual: '+location.href);
console.log ('url actual: '+window.location.href);
console.log ('url actual: '+location.href);