Gets n random elements at unique keys from collection up to the size of collection.
The array from which elements will be sampled.
The number of elements to sample. default is 1.
An array containing n random elements from the provided collection.
Gets n random elements at unique keys from collection up to the size of collection.