getMinutesbeginnerconst d = new Date(2024, 0, 15, 12, 30)
d.getMinutes() // β 30
// returns 0β59Use getMinutes() to retrieve the minutes component (0β59) of a Date object in local time.
Returns the minutes (0β59) in local time.
Challenge: Verify that new Date(2024, 0, 15, 12, 30).getMinutes() returns 30.