const Arr = [3, 5, 1, 2, 7, 1, 3];
const unique = [...new Set(Arr)];