Answers for "javascript convert in a string the items of an array"

5

javascript convert in a string the items of an array

const arr = [1, 2, 'a', '1a'];
const str = arr.toString();
console.log(str); //> "1,2,a,1a"
Posted by: Guest on March-30-2020

Code answers related to "javascript convert in a string the items of an array"

Code answers related to "Javascript"

Browse Popular Code Answers by Language