What will be the output of the following code?
const date = new Date(); date.setDate(15); console.log(date.getDate());
The previous day of the month
The current day of the month
An error
15