A

Admin • 833.24K 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: Admin

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.

Be the first to start discuss.