Bootstrap

javascript 字符数组转换成以逗号隔开的字符串

var ids = [];
angular.forEach(pulsarServers,function (server) {
ids.push(server.id);
});
ids = ids.join(',');
;