Q. Which of the following can be used to stop a setInterval?
β
Correct Answer: (A)
clearInterval()
Explanation: clearInterval() stops the interval set by setInterval().