You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if(this.Set){
$.Array.unique = function(target){
var set = new Set, ret = [], n = target.length;
for (var i = 0, el; i < n; i++) {
el = target[i]
if(!set.has(el)){
set.add(el)
ret.push(el);
}
}
return ret;
}
}
The text was updated successfully, but these errors were encountered:
利用es6的新集合对象提高性能
The text was updated successfully, but these errors were encountered: