摘要: Array.prototype.getMost = function () { var obj = this.reduce((p, n) => (p[n]++ || (p[n] = 1), (p.max = p.max >= p[n] ? p.max : p[n]), (p.key = p.max 阅读全文
posted @ 2022-02-27 15:38 晨米酱 阅读(315) 评论(0) 推荐(0)