es6数组求和:
let priceArr=[88,58] let priceArrNew = priceArr.reduce((n,m) => n + m);//求和 console.log(priceArrNew);//146
原链接:https://blog.csdn.net/u011565547/article/details/106663227/