dist/bbn.js
/**
     * Returns a random item from the given array.
     * 
     * @method   pickValue
     * @global
     * @example
     * ```javascript
     * bbn.fn.pickValue([1, 2, 3, 4, 5]);
     * // 1
     * bbn.fn.pickValue([1, 2, 3, 4, 5]);
     * // 5
     * bbn.fn.pickValue([1, 2, 3, 4, 5]);
     * // 4
     * ```
     * @memberof bbn.fn
     * @param    {Array} arr The array to pick from
     * @returns  {*}     The random value
     */
Returns a random item from the given array.


Returns a random item from the given array .
pickValue(arr){
      if ( Array.isArray(arr) && arr.length ){
        return arr[Math.floor(Math.random() * arr.length)]
      }
    }
pickValue ( arr ) { if ( Array . isArray ( arr ) && arr . length ) { return arr [ Math . floor ( Math . random ( ) * arr . length ) ] } }
Returns a random item from the given array.
Returns a random item from the given array .