*
JavaScript Question Answers - 101-120
|
|
101. Which method returns the hour (from 0-23)
Date.getHours()
102. Which method returns the milliseconds (from 0-999)
Date.getMilliseconds()
103. Which method returns the minutes (from 0-59)
Date.getMinutes()
104. Which method returns the month (from 0-11)
Date.getMonth()
105. Which method returns the seconds (from 0-59)
Date.getSeconds()
106. Which method returns the number of milliseconds since midnight Jan 1, 1970
Date.getTime()
107. Which method returns the time difference between UTC time and local time, in minutes
Date.getTimezoneOffset()
108. Which method returns the day of the month, according to universal time (from 1-31)
Date.getUTCDate()
109. Which method returns the day of the week, according to universal time (from 0-6)
Date.getUTCDay()
110. Which method returns the year, according to universal time (four digits)
Date.getUTCFullYear()
111. Which method returns the hour, according to universal time (from 0-23)
Date.getUTCHours()
112. Which method returns the milliseconds, according to universal time (from 0-999)
Date.getUTCMilliseconds()
113. Which method returns the minutes, according to universal time (from 0-59)
Date.getUTCMinutes()
114. Which method returns the month, according to universal time (from 0-11)
Date.getUTCMonth()
115. Which method returns the seconds, according to universal time (from 0-59)
Date.getUTCSeconds()
116. Which method returns the History object for the window
window.history
117. Which statement marks a block of statements to be executed depending on a condition
if (condition) { ... }
118. Which method search the array for an element and returns its position
Array.indexOf(element)
119. Which method returns the position of the first found occurrence of a specified value in a string
String.indexOf(value)
120. Which method returns the inner height of a window's content area
window.innerHeight
*