📜  随机数生成器 javascript 代码示例

📅  最后修改于: 2022-03-11 15:04:22.778000             🧑  作者: Mango

代码示例6
Math.floor(Math.random() * (max - min + 1)) + min;
//max is the highest number you want it to get
//min is the lowest number you want it to get