What will be the output of the following code?
const date = new Date('2023-05-31'); console.log(date.getDate());
The month of the date (0-11)
The day of the week (0-6)
The year of the date
The day of the month