Menu
×
×
Correct!
Exercise:Use the correct Date method to set the year of a date object to 2020.
const d = new Date();
d.setFullYear(2020);
Not CorrectClick here to try again. Correct!Next ❯const d = new Date(); d.; |