function solution(numbers) {
var answer = [];
const sums=new Set();
numbers.sort((a,b)=>a-b);
for(let i=0;i<numbers.length;i++){
for(let j=i+1;j<numbers.length;j++){
sums.add(numbers[i]+numbers[j])
}
}
answer=Array.from(sums);
answer.sort((a,b)=>a-b)
return answer;
}
문제를 잘읽자
정렬해야됨.