πŸ“Š JavaScript
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

πŸ‘οΈ
53
Total Visits
πŸ“½οΈ
11 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
87%
Success Rate