Javascript
JavaScript Fundamentals -- Looping in JavaScript

for ... of Loops

PRO

The for ... of loop is similar to the for loop, but it will loop over each item in the array. You don’t have to tell it how far to go, though, as it will do so automatically. You’ll again create a local variable, though this time you can use const (and I usually do except on the rare occasion I need to reassign the value of the local variable).

This is my preferred method of looping over the values of an array. I like how concise and explicit it is.

For more information on for of loops, read this blog post.