Pick random element from array, but unique Pick random element from array, but unique arrays arrays

Pick random element from array, but unique


Shuffle the array and then slice the first 5 elements.

This will guarantee 5 unique random elements.