2024年10月13日
摘要: Array.prototype.sumFields = function(...fields) { return this.reduce((acc, item) => { fields.forEach(field => { acc[field] = (acc[field] || 0) + (Numb 阅读全文
posted @ 2024-10-13 15:06 清清飞扬 阅读(0) 评论(0) 推荐(0) 编辑