📜  随机整数 javascript 代码示例

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

代码示例6
//Returns random Int between 0 and 2 (included)
Math.floor(Math.random()*3)