let a = [1,2,3,4]
let b = Math.max(...a)
let c = Math.min(...a)
console.log(b,c)

 

相关文章:

  • 2021-05-25
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-08
  • 2022-12-23
  • 2022-01-22
  • 2022-12-23
猜你喜欢
  • 2021-09-16
  • 2022-02-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-28
  • 2021-12-04
相关资源
相似解决方案