πŸ“Š Machine Learning
Q. Which method receives the return value of setInterval() to cancel future invocations?
  • (A) clearInvocation()
  • (B) cancelInvocation()
  • (C) clearInterval()
  • (D) None of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (C) clearInterval()

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

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.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
131
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
91%
Success Rate