04 2021 档案

摘要:基本语法 接收一个函数作为累加器,数组中的每个值(从左到右)开始缩减,最终计算为一个值。 function(total,currentValue, index,arr) total: 必需。初始值, 或者计算结束后的返回值。 currentValue: 必需。当前元素 currentIndex: 可 阅读全文
posted @ 2021-04-21 21:55 applesky 阅读(133) 评论(0) 推荐(0)