最大值

Math.max.apply(Math, array.map(item=>item.num))

最小值

Math.min.apply(Math, array.map(item=>item.num}))