adplus-dvertising
frame-decoration

Question

Which function among the following lets to register a function to be invoked repeatedly after a certain time?

a.

setTimeout()

b.

setTotaltime()

c.

setInterval()

d.

none of the mentioned

Posted under JavaScript

Answer: (c).setInterval()

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which function among the following lets to register a function to be invoked repeatedly after a certain time?

Similar Questions

Discover Related MCQs

Q. Which is the handler method used to invoke when uncaught JavaScript exceptions occur?

Q. Which property is used to obtain browser vendor and version information?

Q. Which method receives the return value of setInterval() to cancel future invocations?

Q. The setTimeout() belongs to which object?

Q. Which method receives the return value of setTimeout() to cancel future invocations?

Q. What will happen if we call setTimeout() with a time of 0 ms?

Q. To which object does the location property belong?

Q. What is the result of the following code snippet?

window.location === document.location

Q. The URL property belongs to which of the following object?

Q. What does the location property represent?

Q. Which among the following is not a property of the Location object?

Q. What is the return type of the hash property?

Q. What is the function used to extract arguments from the search property of a URL?

Q. The decodeURIComponent() is defined by

Q. Which is the method that removes the current document from the browsing history before laoding the new document?

Q. Why is the replace() method better than the assign() method?

Q. What is the purpose of the assign() method?

Q. The history property belongs to which object?

Q. What is the code snippet to go back to a history twice?

Q. If the window has child windows, how will the browsing histories be affected?