const _rank = array => { // 补全代码 array.sort((pre, next) => { let ary = ['chinese', 'math', 'english'] let preSum = 0; let nextSun = 0; for(let key of ary){ preSum += pre[key]; ...