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