The for statement creates a loop that is executed as long as a condition is true.
The loop will continue to run as long as the condition is true. It will only stop when the condition becomes false.
JavaScript supports different kinds of loops and we are going to talk about these.
for - loops through a block of code a number of times
for/in - loops through the properties of an object
for/of - loops through the values of an iterable object
while - loops through a block of code while a specified condition is true
do/while - loops through a block of code once, and then repeats the loop while a specified condition is true
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
🔥Complete Courses🔥
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Complete Modern JavaScript BootCamp from the beginning
https://www.udemy.com/course/complete...
React - The Complete Guide with React Hook Redux 2020 in 4hr
https://www.udemy.com/course/complete...
Vue JS and Firebase:Build an iOS and Android chat app [2020]
https://www.udemy.com/course/vuejs-an...
New SAT Math Course
https://www.udemy.com/course/new-sat-...
New SAT Math Practice Test Explain
https://www.udemy.com/course/new-sat-...
Get A* in GCSE Maths (Quadratic equations and graph)
https://www.udemy.com/course/get-a-in...
https://www.udemy.com/user/cyruschan2/
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
💟小船其它的平台更精彩
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
‣‣ Udemy ► https://www.udemy.com/user/cyruschan2/
‣‣ Twitter ► / ckmobilejavasc1
‣‣ Facebook ► / javascript.ck
‣‣ Instagram ► / ckmobile8050
**Equipment that I use**
Macbook Pro
https://amzn.to/2CC41HV
Blue Yeti USB mic
https://amzn.to/3jf3gph
Camtasia
https://amzn.to/30aopbg