会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
颜颜的博客
博客园
首页
新随笔
联系
订阅
管理
2020年10月28日
HTML之JS 2
摘要: JS之random随机数 Math.ceil(Math.random()*10); // 获取从 1 到 10 的随机整数,取 0 的概率极小。 Math.round(Math.random()); // 可均衡获取 0 到 1 的随机整数。 Math.floor(Math.random()*10)
阅读全文
posted @ 2020-10-28 17:40 颜颜blog
阅读(86)
评论(0)
推荐(0)
编辑
公告