목차 문제 Map, Filter, Reduce - Code Exercises | CroCoder Map, filter and reduce are the most useful array methods to manipulate arrays and often the hardest to master. Try to solve the given exercises! www.crocoder.dev 정답 const input = "George Raymond Richard Martin"; const arr = input.split(" "); console.log(arr.map(x => x[0]).join("")); const input = "George Raymond Richard Martin"; const arr = input.split(" "); const answer = arr.map(x => x.slice(0, 1)).join(""); console.log(answer); 반응형 공유하기 게시글 관리 구독하기카버의 코딩일기 저작자표시 비영리 변경금지 목차 목차 닫기