var a=[1,2,3,5];
alert(Math.max.apply(null, a));//最大值
alert(Math.min.apply(null, a));//最小值

相关文章:

  • 2021-10-17
  • 2021-10-17
  • 2022-12-23
  • 2022-12-23
  • 2021-11-03
  • 2021-11-28
  • 2021-08-21
  • 2021-10-14
猜你喜欢
  • 2022-12-23
  • 2021-09-19
  • 2022-12-23
  • 2021-07-16
  • 2022-01-17
  • 2021-10-10
相关资源
相似解决方案