adplus-dvertising
frame-decoration

Question

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

a.

clearInvocation()

b.

cancelInvocation()

c.

clearInterval()

d.

None of the mentioned

Posted under JavaScript

Answer: (c).clearInterval()

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

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

Similar Questions

Discover Related MCQs

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?

Q. The length property belongs to which of the following objects?

Q. What is the datatype of the go() method's parameter?

Q. What is the special feature of the modern web applications?