for of array javascript

JavaScript
let colors = ['red', 'green', 'blue'];
for (const color of colors){
    console.log(color);
}
Source

Also in JavaScript: