원본/출처: https://itnext.io/15-useful-javascript-examples-of-map-reduce-and-filter-74cbbb5e0a1freduce를 제대로 쓰지 못하는 그대에게.."js function 활용에요. for문을 많이