Returns a random value from the given iterable. Throws an error if the iterable is empty.
the iterable to return a random value from
a function that returns a random value between 0 (inclusive) and 1 (exclusive), Math.random by default
Math.random
Generated using TypeDoc
Returns a random value from the given iterable. Throws an error if the iterable is empty.