JavaScript - Lesson 4 - For Loop

Veröffentlicht am: 07 September 2011
auf dem Kanal: 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.


Auf dieser Seite können Sie das Online-Video JavaScript - Lesson 4 - For Loop mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer CodeWebDesign 07 September 2011 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 95 Mal angesehen und es wurde von 2 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!