_randSelect(arr) {
    if (arr instanceof DRange) {
      return arr.index(this.randInt(0, arr.length - 1));
    }
    return arr[this.randInt(0, arr.length - 1)];
  }
Randomly selects and returns a value from the array.

@param {Array.<Object>} arr
@return {Object}