for loop es6 multiple values 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);
}