When I use the Alert it's working. But When I use Console.log it doesn't print anything.
I tried switching the alert with the console.log
var myColor = ["Red", "Green", "White", "Black"];
for (i = 0; i < myColor.length; i++) {
console.log(myColor);
}