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