What will be the output of the following code?
const date = new Date();
date.setSeconds(45);
console.log(date.getSeconds());
What will be the output of the following code?
const date = new Date();
date.setSeconds(45);
console.log(date.getSeconds());