0

Why the clearInterval doesn't work??

https://code.sololearn.com/WlVl0vqDnt5h/?ref=app

9th Aug 2018, 9:56 PM
Sina
Sina - avatar
3 Respuestas
+ 1
Because count can never reach 8, when count is 8, it immediately reset by this function to zero, before reach clearInterval. if(count == 8){ var n = document.createElement("tr") t.appendChild(n) count = 0 }
9th Aug 2018, 10:57 PM
Calviղ
Calviղ - avatar
0
No I speak about the second if
10th Aug 2018, 8:20 AM
Sina
Sina - avatar
0
see it again
10th Aug 2018, 8:20 AM
Sina
Sina - avatar