Lesson

Iterate with Javascript While Loop, freeCodeCamp Basic Javascript

Lesson Summary

In this challenge we learn about Javascript while loops. A while loop in javascript checks if a condition is true, and if so will continue iterating as long as the condition is true, so we need to either increment or decrement within our loop to avoid an infinite loop.

Subscribe To Monthly Newsletter. Chance to Win Monthly Prizes

* indicates required


Share: