JavaScript - Lesson 4 - For Loop

Publié le: 07 septembre 2011
sur la chaîne: CodeWebDesign
95
2

For loop. YEAH!

-----------
So the first time it ran, i was 0, i was less than 6 so it ran.
then i was 1 for our second time, i was 2 for our third time, i was 3 for our fourth time, i was 4 for our fifth time. It didn't stop because on our sixth time, i was 5, which is still less than 6, so it ran again until the seventh time, when i was 6.

The reason you normally start i at 0 is so that you can put in how many times you actually want it to loop in the second condition. I guess I was thinking about something else.


Sur cette page du site, vous pouvez voir la vidéo en ligne JavaScript - Lesson 4 - For Loop durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur CodeWebDesign 07 septembre 2011, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 95 fois et il a aimé 2 téléspectateurs. Bon visionnage!