×

Multiple-Choice Questions

Web Technologies MCQs

Computer Science Subjects MCQs

Databases MCQs

Programming MCQs

Testing Software MCQs

Digital Marketing Subjects MCQs

Cloud Computing Softwares MCQs

AI/ML Subjects MCQs

Engineering Subjects MCQs

Office Related Programs MCQs

Management MCQs

More

Which JavaScript statement(s) is correct to create Date object(s) with new Date() constructor?

72. Which JavaScript statement(s) is correct to create Date object(s) with new Date() constructor?

  1. new Date()
  2. new Date(year, month, day, hours, minutes, seconds, milliseconds)
  3. new Date(milliseconds)
  4. new Date(date string)
  5. All of the above

Answer: E) All of the above

Explanation:

All of the above statements are correct to create Date objects with new Date() constructor.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.