배열 중복을 제거하는 3가지 방법을 소개합니다. 1. Set function getSecondLargest(nums) { // Complete the function // 1. Set const set = new Set(nums); const uniqueArr = [...set]; const sortArr = uniqueArr.sort((a, b) => a-b); let answer = sortArr[sortArr.length-2]; return answer; } 2. indexOf(), filter() function getSecondLargest(nums) { // Complete the function // 2. indexOf(), filter() const uniqueArr = nums.filte..