arr = [1, 2, 3, 4 , 5] arr[Math.floor(Math.random() * arr.length)]