Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript array to string

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

console.log(joinedCities); // London,Paris,Tokyo
Source by learn.coderslang.com #
 
PREVIOUS NEXT
Tagged: #javascript #array #string
ADD COMMENT
Topic
Name
2+6 =