clearInterval needs an argument, so we need to be storing the interval we created with the setInterval call.
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
clearInterval needs an argument, so we need to be storing the interval we created with the setInterval call.