In programming, loops are used to repeat a block of code. In this video, we will learn about the while loop.
🔥 Want to learn programming the right way? Get my interactive programming course: https://bit.ly/js-master
The while loop in Python is used to iterate over a block of code as long as the test expression (condition) is true. We generally use this loop when we don't know the number of times to iterate beforehand.
Watch the full video to have a clear understanding of the working of JavaScript While Loop.
~
Run JavaScript Online: https://www.programiz.com/javascript/online-compiler/
Programs in this video: https://github.com/programiz/js-course/blob/main/11.%20while%20Loop.md
JavaScript While loop(text-based tutorial): https://www.programiz.com/javascript/while-loop
Timestamps:
00:35 While loop syntax
04:45 Creating Multiplication Table
08:31 do While Loop
11:21 Programming Task
11:50 Quiz
Find Programiz elsewhere:
Facebook: https://www.facebook.com/programiz
Instagram: https://www.instagram.com/_programiz/
LinkedIn: https://www.linkedin.com/company/programiz
Twitter: https://twitter.com/programiz
Discord: https://discord.gg/RG8QVVCckc
Website: https://www.programiz.com
---------------------------------------------------
#11 JavaScript While Loop | JavaScript for Beginners Course
#programiz #javascript #whileloop #JStutorial #while #dowhile #learnprogramming