Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Start a free Courses trial
to watch this video
Loops are a powerful tool in programming. A loop is a way to repeat the same actions a certain number of times. There are many different types of loops available to use in JavaScript. This video will teach you how to access each item in an array with a forEach
loop.
Resources
Practice forEach
Now that you've learned about JavaScript's forEach
method, practice using it with this series of challenges.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up