JS取随机数

来源:互联网 发布:linux 打开vim编辑器 编辑:程序博客网 时间:2024/05/17 16:44

var num=Math.floor(Math.random()*10+1); 取1~10随机数


原创粉丝点击