Mini Lessons
WordPress Foundations
The highly-paid WordPress Expert
WordPress Best Practices
Sign in
Subscribe
Learn Javascript
Challenge: Convert a simple "for" loop to use a forEach method
When to use a "for" loop vs forEach
Using an anonymous function with the forEach method
Using forEach instead of a "for" loop for easy iterations
Keep the loop performance in mind
Challenge: Outputting all the items of an array into the web page using a for loop
Secret: An array is a specialized object