Pad array to the specified length with a value
Remove the last element from the array
Calculate the product of values in an array
Push one or more elements onto the end of array
Pick one or more random entries out of an array