let arr = [1, 2, 3, 10, 4, 5, 1, 3, 5];
let stateNumArr = arr.filter((item, index, array) => {
return array.indexOf(item) === index;
});
console.log(stateNumArr);
let arr = [1, 2, 3, 10, 4, 5, 1, 3, 5];
let stateNumArr = arr.filter((item, index, array) => {
return array.indexOf(item) === index;
});
console.log(stateNumArr);