function() {
      var vals = [],
          max = arr.length,
          idx = 0;

      while (idx < max) {
        if (!wysihtml5.lang.array(vals).contains(arr[idx])) {
          vals.push(arr[idx]);
        }
        idx++;
      }
      return vals;
    }
function() {
      var vals = [],
          max = arr.length,
          idx = 0;

      while (idx < max) {
        if (!wysihtml5.lang.array(vals).contains(arr[idx])) {
          vals.push(arr[idx]);
        }
        idx++;
      }
      return vals;
    }
function ( ) { var vals = [ ] , max = arr . length , idx = 0 ; while ( idx < max ) { if ( ! wysihtml5 . lang . array ( vals ) . contains ( arr [ idx ] ) ) { vals . push ( arr [ idx ] ) ; } idx ++ ; } return vals ; }
/* ReturnS new array without duplicate entries

@example
var uniq = wysihtml5.lang.array([1,2,3,2,1,4]).unique();
// => [1,2,3,4]
/ * ReturnS new array without duplicate entries
returns an array of the unique elements