code: function(a) {
  		if (!Array.isArray(a)) { return []; }
  
  		return a.filter(function(item, index) {
  			// Is this the first location of item
  			return a.indexOf(item) === index;
  		});
  	}
docs: Unique Remove duplicate and null values from an array @param a array