数组最大值
- 最大值
let ary = [12, 34, 56, 78, 4]
let min = Math.min.apply(null, ary)
- 最小值
let ary = [12, 34, 56, 78, 4]
let max = Math.max.apply(null, ary)
let ary = [12, 34, 56, 78, 4]
let min = Math.min.apply(null, ary)
let ary = [12, 34, 56, 78, 4]
let max = Math.max.apply(null, ary)