const url = window.location.href; console.log(url);
const age = 77; const year = new Date().getYear() + 1900; // We have to add 1900 // because getYear returns the number of years since 1900 console.log(year - age);
const url = window.location.href; console.log(url);
const age = 77; const year = new Date().getYear() + 1900; // We have to add 1900 // because getYear returns the number of years since 1900 console.log(year - age);