<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<title>hello world</title>
<script type="text/javascript">
function oSort(arr){
var result =[];
var hash = {};
for(var i=0;i<arr.length;i++){
if(!hash[arr[i]]){
result.push(arr[i]);
hash[arr[i]]=true;
}
}
return result;
}
var arr = ['1','2','0','0','3','4','3','5','5'];
var a = oSort(arr);
console.log(a);
</script>
</head>
<body>
</body>
</html>