Selects random element from the list.
This method assumes an equal distribution for all elements of the list.
If the list is empty, the function will return undefined.
Selects random element from the list, then removes that element from the list.
This method assumes an equal distribution for all elements of the list.
If the list is empty, the function will return undefined.
A class for randomly selecting elements from a given list. This class assumes an equal distribution for all elements of the list.