var array = ["one", "two", "three", "four", "five"];
var item = array[Math.floor(Math.random()*array.length)];
The code above selects a random item from the array. However, how could I get it to select 3 random elements from the array at once, rather than only one.
Rather than only selecting three
for example, it should be something like two five one
.