function selec(low,high){
var ch=high-low+1;
return Math.floor(Math.random()*ch+low);
}
for (var i = 0; i < 10; i++) {
    document.write(selec(1111,8888)+"<br>");
}

相关文章:

  • 2022-01-13
  • 2021-06-24
  • 2021-12-23
  • 2021-12-09
  • 2021-12-09
  • 2021-12-24
  • 2021-07-20
  • 2021-09-26
猜你喜欢
  • 2022-02-22
  • 2021-11-15
  • 2021-12-16
  • 2021-10-08
  • 2021-04-24
相关资源
相似解决方案