Answer :

The value for the month will be shown on the web page by utilizing thisday.getmonth() method is 4.

What is thisday.getmonth() method?

The getMonth() method returns the month on the prescribed date according to local time, as a zero-based value (where zero demonstrates the first month of the year). JavaScript date getMonth() method returns the month on the selected date according to local time. The value returned by getMonth() exists as an integer between 0 and 11.

To get the current year in TypeScript: Call the new Date() constructor to bring a date object for the current date. Call the getFullYear() method on the date object. The getFullYear method will return a number that describes the current year.

Hence, The value for the month will be shown on the web page by utilizing thisday.getmonth() method is 4.

Option b is correct.

To learn more about thisday.getmonth() method refer to:

https://brainly.com/question/14634908

#SPJ4

The complete question is,

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 using thisDay.getMonth() method.

a) 35

b) 4

c) 14

d) 3