Case-Based Critical Thinking Questions
?
Case 9-2
Robin maintains a web page for updating the metro timings in the city.He would like the website to display the present day's schedule. To do this, Robin writes a code that includes an object to retrieve the day of the week and then loads the appropriate data into the page.
?
Robin includes an expression to the code,
 var thisDay = new Date("May 23, 2018 14:35:05");
?
Identify the value for the month that will be displayed on the web page by usingthisDay.getMonth()method.

A. ?35
B. ?4
C. ?14
D. ?3

Answer: B

Computer Science & Information Technology

You might also like to view...

The track changes feature is turned ________ by default

Fill in the blank(s) with correct word

Computer Science & Information Technology

The float property takes one of three values:

a. top, bottom, center b. right, center, left c. left, right, none d. right, center, none

Computer Science & Information Technology