Use the correct Date method to set the year of a date object to 2020.
Click here to try again.
const d = new Date(); d.w3exercise_input_no_0;
w3exercise_input_no_0
This will reset the score of ALL 67 exercises.
Are you sure you want to continue?
Share your score:
Take our JavaScript Developer Certificate to prove that you have fundamental knowledge of web development using JavaScript.