25,782
社区成员
发帖
与我相关
我的任务
分享function fun_list_max() {
var list = [{ count: 3 }, { count: 15 }, { count: 1 }, { count: -5 }, { count: 10 }]
var maxObj = Math.max.apply(Math, list.map(function (o) { return o.count }));
alert(JSON.stringify(maxObj)) //15
}