主页
JavaScript
JavaScript 随机数
tryjs_random_1_100
运行 ❯
×
更改方向
保存代码
更改主题
JavaScript Math
Math.floor(Math.random() * 100) + 1) 返回 1 到 100 之间的随机整数(均包含):