zengxh
 var ran = Math.floor(Math.random() * 10 + 1);   //   1到十的随机整数
    var ran = Math.floor(Math.random() * 10);      //   0到十的随机整数

 

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-24
  • 2022-12-23
  • 2021-12-24
猜你喜欢
  • 2021-12-24
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-24
  • 2021-12-24
相关资源
相似解决方案