var arr = [1, 2, 44, 2, 1, 18, 23, 99, 33, 2, 1, 45, 63, 26]; var arr_unique = new Set(arr); console.log(arr_unique);