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