+ 1
I set a loop like as given below how I set delay to print number one by one,any one please give me solid Ans🙏😔
Var a=5; For (a;a>=1;a--){ Document.write(a); } It print suddenly 54321, But I want it print with one by one like first print 5 take dealy 2 sec then print 4 then after 2 sec print 3 ...like as.
1 Respuesta
+ 2
https://stackoverflow.com/questions/3583724/how-do-i-add-a-delay-in-a-javascript-loop
It's same question! Please read it.
All the best!