What will be the output of the following code?
const date = new Date();
date.setMilliseconds(500);
console.log(date.getMilliseconds());
What will be the output of the following code?
const date = new Date();
date.setMilliseconds(500);
console.log(date.getMilliseconds());