Revision: 25209
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at March 23, 2010 10:46 by nate63179
Initial Code
Array.prototype.unique = function () { var r = new Array(); o:for(var i = 0, n = this.length; i < n; i++) { for(var x = 0, y = r.length; x < y; x++) { if(r[x]==this[i]) { continue o; } } r[r.length] = this[i]; } return r; }
Initial URL
Initial Description
Initial Title
JS: Uniquify an array
Initial Tags
Initial Language
JavaScript