Edit & Run »
Math.floor() combined with Math.random() can return random integers.
Try it