M

Mr. Dubey • 52.30K Points
Coach

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

  • (A) clearInvocation()
  • (B) cancelInvocation()
  • (C) clearInterval()
  • (D) None of the mentioned

Explanation by: Mr. Dubey
Like setTimeout(), setInterval() returns a value that can be passed to clearInterval() to cancel any future invocations of the scheduled function.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.