|
|
|
|
|
Question
16
:
What would be the result of the following statement in JavaScript using regular expression methods?
1. Returns [“123″”456″”789”]. 2. Returns [“123″,”456″,”789”]. 3. Returns [1,2,3,4,5,6,7,8,9]. 4. Throws an exception
View Answer
Discuss with Members
|
Question
17
:
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
View Answer
Discuss with Members
|
|
|
|