function uniq(arr) {
let result = []
let obj = {}
for (let i of arr) {
if(!obj[i]) {
result.push(i)
obj[i] = 1 }
}
return result
}
function uniq(arr) {
let result = []
let obj = {}
for (let i of arr) {
if(!obj[i]) {
result.push(i)
obj[i] = 1 }
}
return result
}