Deutsch
var arr=['a','b','c','a','b']; var newAr=[]; var showSingleArr=function(arr){ var o={}; var ar=arr; for(var i=0;i<ar.length;i++){ if(o[ar[i]]===undefined){ o[ar[i]]="daf"; newAr.push(ar[i]); } } } showSingleArr(arr); alarm(newAr); -