getDatebeginnerconst d = new Date(2024, 0, 15)
d.getDate() // β 15Use getDate() to retrieve the day of the month (1β31) in local time from a Date object.
Returns the day of the month (1β31) in local time.
Challenge: Verify that new Date(2024, 0, 15).getDate() returns 15.