Signup/Sign In
Ask Question
Not satisfied by the Answer? Still looking for a better solution?

The challenge is Level 7, lesson 6 JS

var fruits = ["apple", "guava", "mango"];

let counter = 0;

{
console.log();

}


Please help out.
by

1 Answer

kshitijrana14
try this one

var fruits = ["apple", "guava", "mango"];

let counter = 0;
while(counter<fruits.length)
{
console.log(fruits[counter]);
counter++;

}

Login / Signup to Answer the Question.