使用apply获取数组最大值

2019-12-07  本文已影响0人  soojade
  let arr = [1, 23, 5, 7, 11]
  Math.max.apply(Math, arr)
上一篇 下一篇

猜你喜欢

热点阅读