const cities = ['London', 'Paris', 'Tokyo']; const joinedCities = cities.join('-'); console.log(joinedCities); // London-Paris-Tokyo