Objectives
- Use repetition in JavaScript
- Explain difference between using loop counters and sentinel values
- Explain what an infinite loop is
- Use a break statement to exit a loop
- Use a continue statement to skip remaining code in an iteration
- Use a for loop with a loop counter
- Use a for loop to iterate through a collection
- Use a do/while loop
- Use a while loop