JavaScript - Lesson 4 - For Loop

Опубликовано: 07 Сентябрь 2011
на канале: 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.


На этой странице сайта вы можете посмотреть видео онлайн JavaScript - Lesson 4 - For Loop длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь CodeWebDesign 07 Сентябрь 2011, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 95 раз и оно понравилось 2 зрителям. Приятного просмотра!