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