Explore cities

Report a typo

You have the array cities:

cities = ["London",, "",  "Paris",, "Rome"];

How many rows will you see if you decide to iterate over it as shown below?

cities.forEach(function(value) {
  console.log(value);
});

Type the number in the answer box.

Enter a number
___

Create a free account to access the full topic