Posts by Muriel Gasparini • 11 points
1 post
-
1
votes3
answers757
viewsA: Is there a command or function in Javascript that controls the screen update before the loop ends?
Your loop only displays the message after the end of your loop, because that is exactly what is written in the code, see: for (var i=0;i<10;i++) { var t=0; while(t<1000000) { t++; }…