数组对象中,找到某一最大属性值

var maxValue = Math.max.apply(Math, data.map(function(item) {return item.nationwideValue}))

  

posted @ 2021-04-30 09:34  番茄西红柿u  阅读(239)  评论(0编辑  收藏  举报