+ 1

setInterval does not stop

After alert I thought I stop the prog🤔 https://code.sololearn.com/WwQW69WB60cA/?ref=app

11th Jan 2021, 7:20 PM
Oma Falk
Oma Falk - avatar
1 Resposta
+ 3
You can't clear the interval because the myVar variable used for the interval isn't declared anywhere. Using 'use strict' at the beginning of your code will help you finding undeclared variables.
11th Jan 2021, 9:28 PM
Aaron Eberhardt
Aaron Eberhardt - avatar