var array = [10,2,3,4,5,6,30,8,9];
     document.write('max:');
     document.write(Math.max.apply(null,array));
     document.write('<br>');
     document.write('min:');
     document.write(Math.min.apply(null,array));

相关文章:

  • 2022-12-23
  • 2021-10-27
  • 2022-12-23
  • 2021-09-17
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-16
猜你喜欢
  • 2022-12-23
  • 2022-01-27
  • 2021-10-17
  • 2021-10-27
  • 2022-12-23
  • 2021-09-19
  • 2021-10-17
相关资源
相似解决方案