+ 3

js closure problem

i want to iterate the i using closure and put the i inside a index and alert or log out each item inside a https://code.sololearn.com/We11GmPVPHJ5/?ref=app

6th Feb 2019, 3:38 AM
Danielov
Danielov - avatar
3 Respuestas
+ 11
Use setInterval instead of setTimeout
6th Feb 2019, 6:40 AM
Burey
Burey - avatar
+ 2
thanks but it keep running after the value runnout undefine
6th Feb 2019, 11:34 AM
Danielov
Danielov - avatar
14th Oct 2019, 1:32 AM
Ryan Els
Ryan Els - avatar