프로그래머스 - 의상 처음 풀이하다 막힌 코드function solution(clothes) { var answer = 0; let clothesMap = new Map() console.log(clothes) for (let item of clothes) { let name = item[0] let type = item[1] clothesMap.has(type) ? clothesMap.set(type, [...clothesMap.get(type), name]) : clothesMap.set(type, [name]) } console.log('clothesMap= ', clothesMap) let clothe..