<script type="text/javascript"> var nums = [1,2,3,4,5]; //计算数组的总和 var sum = nums.reduce(function(prev,cur,index,array){ return prev + ...
確定! 回上一頁