JavaScript obtenga un año actual
var currentYear= new Date().getFullYear();
Grepper
var currentYear= new Date().getFullYear();
let today = new Date().toLocaleDateString()
console.log(today)
new Date().getFullYear()