Fügen Sie Zitate zu Array -Elementen hinzu
var array1 = ["test, test1"];
var array = array1[0].split(',');
array = array.map(i => '"' + i + '"');
alert(array)
Run code snippet
Blushing Bug