List of utility methods to do Array Get Unique
Array.prototype.getUnique = function(){ var u = {}, a = []; for(var i = 0, l = this.length; i < l; ++i){ if(this[i] in u) continue; a.push(this[i]); u[this[i]] = 1; return a; ...