02Geek HTML5 and JavaScript, TypeScript, React, Flash, ActionScript online School
Previous VideoNext Video

What Is A Loop?

A loop is a series of commands that will continue to repeat over and over again until a condition is met. Is that all a loop is good for? Not at all but it is nice not needing to repeat something over and over, loops are a really powerful tool that enables us to cut down our code drastically and if we use it smartly can even improve the readability and overall lightness of our application but alas as every good thing there are many easy ways to fall into using loops for the wrong reasons. Lets start with understanding what loops are and then lets see how we can use them to improve our code.

Ready to Level Up Your Skills?

Join thousands of learners on 02GEEK and start your journey to becoming a coding expert today!

Enroll Now for Free!