What will be the output of the following code?
const date = new Date(); date.setDay(4); console.log(date.getDay());
4
An error
The current day of the week
The previous day of the week