es6 new syntax for loop code example
Example: for of loop in es6
let colors = ['Red', 'Blue', 'Green'];
for (let color of colors){
console.log(color);
}
let colors = ['Red', 'Blue', 'Green'];
for (let color of colors){
console.log(color);
}