dist/bbn.js
/**
     * Removes duplicate values from an array.
     * 
     * Takes an input array and returns a new array without duplicate values.
     *
     * @method   unique
     * @global
     * @example
     * ```javascript
     * bbn.fn.unique(["a", "b", "a", "b", "a", "b", "c", "c", "d"]);
     * // ["a", "b", "c", "d"]
     * ```
     * @memberof bbn.fn
     * @param    {Array} arr 
     * @returns  {Array}
     */
Removes duplicate values from an array.

Takes an input array and returns a new array without duplicate values.


Removes duplicate values from an array . Takes an input array and returns a new array without duplicate values .
unique(arr) {
      return arr.filter(function(el, index, ar) {
        return index === ar.indexOf(el);
      });
    }
unique ( arr ) { return arr . filter ( function ( el , index , ar ) { return index === ar . indexOf ( el ) ; } ) ; }
Removes duplicate values from an array.
Removes duplicate values from an array .