Q. Which of the following can be used to stop a setInterval?

  • (A) clearInterval()
  • (B) stopInterval()
  • (C) pauseInterval()
  • (D) cancelInterval()
πŸ’¬ Discuss
βœ… Correct Answer: (A) clearInterval()
Explanation: clearInterval() stops the interval set by setInterval().
Explanation by: Mr. Dubey
clearInterval() stops the interval set by setInterval().

πŸ’¬ Discussion


πŸ“Š Question Analytics

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