📅  最后修改于: 2022-03-11 15:02:03.983000             🧑  作者: Mango
var inputArray = [{
value: 1
}, {
value: 2
}];
var normalizedArray = inputArray.map((obj) => {
return obj.value;
});
console.log(normalizedArray.join(","))