Jak przekonwertować tablicę na ciąg w JS
const myNewString = myArray.join(',');
myNewString;
shahsawood
const myNewString = myArray.join(',');
myNewString;
const atrArr = ['7', '2', '5']
let numbersArr = strArr.map(c => +c); //[7, 2, 5]
/* You can use map and pass the String constructor as a function,
which will turn each number into a string: */
sphValues.map(String) //=> ['1','2','3','4','5']