What will be the output of the following JavaScript code?
const currDate = new Date(); document.write(currDate);
Tue Dec 21 2021 13:04:36 GMT+0530
Tue Dec 21 2021 13:04:36 (India Standard Time)
Tue Dec 21 2021 13:04:36::00::01 GMT+0530 (India Standard Time)
Tue Dec 21 2021 13:04:36 GMT+0530 (India Standard Time)
Correct Answer : D
Which JavaScript object works with the dates?
Which JavaScript statement(s) is correct to create Date object(s) with new Date() constructor?