getTimebeginnerconst d = new Date('2024-01-15T00:00:00.000Z')
d.getTime() // β 1705276800000
new Date(0).getTime() // β 0Use getTime() to get the number of milliseconds elapsed since the Unix epoch (Jan 1, 1970 UTC).
getTime() always returns a number (the millisecond timestamp).
Challenge: Verify that typeof new Date(0).getTime() returns 'number'.