一个原数组
var arr = [{ pay1:'122,33.22', pay2:'111,111,2.33', id:1, value:2},{ pay1:'111,33.22', pay2:'121,221,2.33', id:1, value:2}]
如何去掉 每个对象pay1 和 pay2的逗号返回一个新数组
var newArr = [{ pay1:'12233.22', pay2:'1111112.33', id:1, value:2},{ pay1:'11133.22', pay2:'1212212.33', id:1, value:2}]
慕尼黑8549860
相关分类