#26 While/do while loop | JavaScript Full Tutorial

preview_player
Показать описание
In this lesson let's learn all about the while/do while loops. The while loops works in a similar way to the for loop in that it loops over a block of code. the difference is the initialiser variable is written before and outside of the while loop syntax, and the final expression is included inside the while loop curly braces after the code to be run. Only the condition is included inside the parentheses of a while loop. We'll also learn about the do while loop, the do while loop will run the code at least once before coming on to evaluating the condition.

------------------



------------------




------------------
Learn with Dev Dreamer! Step by step, easy to understand tutorials :-)
Рекомендации по теме
Комментарии
Автор

finally somebody who explains this in English lol. Glad I've found your channel, thanks for explaining it so thoroughly!

aravis_
Автор

The way you explain the syntax and process flow is very clear. Thank you!

AJ-MM
Автор

why does the console.log(i) come before the i++ and why does it work. would it work the other way. i can test the latter myself. your videos are of elite quality btw. i tested it. it logged 1 through 11 but idk why, im assuming it added 1 to 0 first then proceeded with logging 1 through 10 and then the final console.log(i) gave the final log of 11. input would be great.

ashton
Автор

Maybe I'm missing something, but I don't recall you properly explaining when you go from using <= to += and it keeps throwing me off. What does the += mean and how can I know when to use it?

emojibenji
Автор

Hi Dev dreamer please upload full we development project as you done in a css project plzzz Dev dreamer upload video

dilip
Автор

Majority of beginners want to learn tutorial which doesn't run at a very fast speed because javascript is hard to understand for beginners. The tutor may know very well and can show off, but in the end, it's the viewer who decided to choose whose tutor is the best. Slowing down to 0.75 X is not as practicable as you might think.

JimmyKama
Автор

please someone explain why he put $ . i never come across this as yet.

praveshmaharaj
join shbcf.ru