javascript window new location 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);