Re:Fun.js – Just a sketch
by fogus on Thursday June 06, 2013 @11:47PM
(#5837101)
In reduce the accumulator starts as the seed and is changed in the forEach for each elem. Since there are so elems (funs) the accumulator never changes and returns as the value of seed (5).
[ Parent
| on HN ]