Well done!
You have completed Manipulating Arrays & String Quiz!
Quiz Question 1 of 6
Consider the following string: "London,Paris,New York,Tokyo". After executing the code below, which of the following best describes the contents of the cities
array?
const cities = "London,Paris,New York,Tokyo".split(",");
cities[cities.length - 1] = cities[cities.length - 1].split(" ")[0];
Choose the correct answer below: