摘要: 1 Array.prototype.myReduce = function (f, v) { 2 let sum = v || this[0] || 0 3 let curIndex = v ? 0 : 1 4 for (let i = curIndex; i< this.length; i++) 阅读全文
posted @ 2022-06-07 15:24 李健威 阅读(32) 评论(0) 推荐(0)