Set 1. 중복 값이 없는 유일한 값들의 집합 2. 순서에 의미가 없음 3. index로 접근 불가 1. Set 객체 생성 const set = new Set(); console.log(set); //Set(0) {} const set1 = new Set([1, 2]); //Set(2) {1,2} const set2 = new Set('hello'); //Set(4) {"h", "e", "l", "o"} ※ 배열의 중복제거 기능으로 사용 //기존 const uniq = array => array.filter((v, i, self) => self.indexOf(v) === i); console.log(uniq([1, 1, 2, 2, 3])); // [1, 2, 3] //Set이용 const uniq = ..