Which JavaScript statement(s) is correct to create Date object(s) with new Date() constructor?
new Date()
new Date(year, month, day, hours, minutes, seconds, milliseconds)
new Date(milliseconds)
new Date(date string)
All of the above
Correct Answer : E
Which JavaScript object works with the dates?
What will be the output of the following JavaScript code?
const currDate = new Date(); document.write(currDate);