- Published on
๋ฉ์ฒญ์ด๋ผ ๊ทธ๋ฐ์ง `reduce` ํจ์๊ฐ ์ ์ดํด ๋์ง ์์๋ค. ## Reduce ```javascript const list = [1, 2, 3, 4, 5]; const initValue = 10; const totalSum = list.reduce( (accumulator, currentValue, currentIndex, array) => { ...