js快速求数组之和 eval(arr.join(“+”)); var arr=[12,312,3,67,3,423,878,21]; alert( eval(arr.join("+"))) 原文地址:https://segmentfault.com/n/1330000004357065