setInterval e clearInterval

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

I can't figure out how to pass the interval ID into the function that setinterval is calling.


I have setInterval running a named function. When I run clearInterval(intervalID) inside that function, I get an error that intervalID is not defined

JordanShackelford