InterviewSolution
Saved Bookmarks
| 1. |
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])(a) i, ii and iii only(b) ii, iii and iv only(c) i, ii and iv only(d) i, ii, iii and ivThe question was posed to me in examination.Question is from Augmentation of Classes in section Classes and Modules in JavaScript of JavaScript |
|
Answer» Right ANSWER is (b) ii, III and iv only |
|