编辑代码:
查看结果 »
试一试 - ©
w3ii.com
Math.floor() combined with Math.random() can return random integers.
Try it