積 says to Happy Web Developerlet arr = [ {name:"王小明",score:"100"}, {name:"王小明",score:"90"}, {name:"王小明",score:"70"}, {name:"王小花",score:"100"} ] _.mapObject(_.groupBy(arr, x => x.name), l => _.sortBy(l, x => -x.score)[0].score)不如想想如何寫 mapObject, groupBy, sortByat Wed, Dec 6, 2017 12:58 PM