Classes and Modules on JavaScript related Questions and Answers


Question :   The different variant of Date() constructor to create date object is/are
i. new Date(date)
ii. new Date(milliseconds)
iii. new Date(date string)
iv. new Date(year, month, date[, hour, minute, second, millisecond])

1. i, ii and iii only
2. ii, iii and iv only
3. i, ii and iv only
4. All i, ii, iii and iv
Answer :   2 - ii, iii and iv only  

* Be the First to Post a Comment.

Submit comment :


Captcha Image
Reload

Ask Question

Captcha Image
Reload

Note : Name and Email never shown.





Subscribe


Become a part of EducationForever. Subscribe to our FREE Newsletter