https://stackoverflow.com/questions/16037049/why-does-javascript-map-function-return-undefined Why does JavaScript map function return undefined? My code var arr = ['a','b',1]; var results = arr.map(function(item){ if(typeof item ==='string'){return item;} }); This gives the following results ["a",& stackoverflow.com 방금 그 건이 그렇게 잘 마무리 된 줄 알았으나 아니었다. 내가 잘 이해한 것인지 모르겠는데 filter는 기존 배열에서 거르는 작용을 하는 ..