Math.floor() combined with Math.random() can return random integers.