Subject not found.
1.

Loop Through The Color Array And Print Each Value To The Console. Assume You Do Not Know The Amount Of Colors In The Color Array.

Answer»

var colors = [‘RED, ‘YELLOW’, ‘GREEN’, ‘BLUE’];
for( var i = 0; i < colors.length; i++ )

console.log(colors[i]); 
}

var colors = [‘red, ‘yellow’, ‘green’, ‘blue’];
for( var i = 0; i < colors.length; i++ )

console.log(colors[i]); 
}



Discussion

No Comment Found