+ 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
3 Answers
+ 11
Use setInterval instead of setTimeout
+ 2
thanks but it keep running after the value runnout undefine