JavaScript obtient l'année en cours
var currentYear= new Date().getFullYear();
Grepper
var currentYear= new Date().getFullYear();
new Date().getFullYear(); // This will get you the current year
new Date().getFullYear()
// returns the current year
let currentYear= new Date().getFullYear();
const Year = new Date().getFullYear();
console.log(Year)
const currentYear = todaysDate.getFullYear()