Which of the ways below is incorrect of instantiating a date?

Options
- new Date(dateString)
- new Date()
- new Date(seconds)
- new Date(year, month, day, hours, minutes, seconds, milliseconds)


CORRECT ANSWER : new Date(seconds)

Discussion Board
JavaScript all questions

Nice preparation sir ji

Ramesh kashyap 05-1-2019 11:53 AM

Write your comments

 
   
 
 

Enter the code shown above:
 
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement