toDateStringbeginnerconst d = new Date(2024, 0, 15)
d.toDateString() // β 'Mon Jan 15 2024'Use toDateString() to get a human-readable string of the date portion of a Date object in local time.
The day-of-month is also included in the output.
Challenge: Verify that new Date(2024, 0, 15).toDateString().includes('15') is true.