• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Quiz

Test your knowledge of JavaScript's built-in Math and Date objects by answering the following questions.

Questions

  1. How does JavaScript store dates in a Date object?

    1. The number of milliseconds since January 1st, 1970.

    2. The number of days since January 1st, 1900.

    3. The number of seconds since Netscape's public stock offering.

  2. What is the range of random numbers generated by the Math.random function?

    1. Between 1 and 100.

    2. Between 1 and the number of milliseconds since January 1st, 1970.

    3. Between 0 and 1.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint