×
×
Correct!
Use the correct Date method to extract the year (four digits) out of a date object.
const d = new Date();
year = d.getFullYear();
Not CorrectClick here to try again. Correct!const d = new Date(); year =; |