```
var arr = ['abc','abcd','sss','2','d','t','2','ss','f','22','d'];
var s=[];
for(var i=0; i
if(s.indexOf(arr[i]) == -1){
s.push(arr[i]);
}
}
document.write(s);
```
```
var arr = ['abc','abcd','sss','2','d','t','2','ss','f','22','d'];
var s=[];
for(var i=0; i
if(s.indexOf(arr[i]) == -1){
s.push(arr[i]);
}
}
document.write(s);
```