📜  生成 1 到 100 之间的随机数 - Html 代码示例

📅  最后修改于: 2022-03-11 14:52:55.607000             🧑  作者: Mango

代码示例1
let randomNumber = Math.floor(Math.random()*100) + 1;
// variable that generates a random number between 1 and 100 then adds 1 after