setFullYearbeginnerconst d = new Date(2024, 0, 15)
d.setFullYear(2030)
d.getFullYear() // β 2030Use setFullYear() to mutate the year of a Date object in place; the month and day remain unchanged.
The original Date object is changed after calling setFullYear().
Challenge: Verify that the year changes from 2024 to 1990 after calling setFullYear(1990).