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.
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.
Create a free account to access the full topic