| 
  
   Menu 
  × 
      
    × 
      Correct! 
    Exercise:Create a loop that runs through each item in the  
var fruits = ["Apple", "Banana", "Orange"];
for (x @(2) @(6)) {
  console.log(x);
}
 
var fruits = ["Apple", "Banana", "Orange"];
for (x of fruits) {
  console.log(x);
}
 
var fruits = ["Apple", "Banana", "Orange"];
for (x in fruits) {
  console.log(x);
}
 
    Not CorrectClick here to try again. Correct!Next ❯ | 
This will reset the score of ALL 67 exercises.
Are you sure you want to continue?