What will be the output of the following code?
const date = new Date(); date.setHours(18); console.log(date.getHours());
An error
The previous hour
The current hour
18