const randomElement = array[Math.floor(Math.random() * array.length)];