nowbeginnerconst ts = Date.now() // e.g. 1705276800000
typeof ts // β 'number'Use Date.now() to get the current time as milliseconds since the Unix epoch without creating a Date object.
Since the Unix epoch was January 1 1970, any call made after 1970 returns a positive integer.
Challenge: Verify that Date.now() > 0.