{"description":"\u6982\u8981 \u30ea\u30b9\u30c8\u306e\u8981\u7d20\u3092\u4e00\u3064\u306e\u5024\u306b\u307e\u3068\u3081\u3066\u3044\u304f\u3002 \u5f15\u6570\u306ememo\u306f\u521d\u671f\u5024\u3002 iteratee\u304c\u5b9f\u884c\u3055\u308c\u305f\u3042\u3068\u3001\u305d\u306e\u5024\u3092\u30e1\u30e2\u5316\u3057\u3066\u304a\u304d\u3001\u30ea\u30b9\u30c8\u306eindex\u756a\u76ee\u306e\u5024\u3068\u3068\u3082\u306biteratee\u306b\u6e21\u3057\u3001\u5404\u5024\u3092\u51e6\u7406\u3059\u308b\u3002 var list = [1, 2, 3]; var sum = _.reduce(list, function(memo, num){ return memo + num; }); console.log(sum); // 6 \u30bd\u30fc\u30b9\u30b3\u30fc\u30c9 // Create a reducing function iterating left or right. function createReduce\u2026","image_url":null,"title":"\u3010Underscore.js\u3011_.reduce\u3092\u8aad\u3093\u3060","blog_url":"https://ikemonn.hatenablog.com/","width":"100%","categories":["JavaScript"],"version":"1.0","published":"2015-10-16 08:00:00","author_name":"ikemonn","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/ikemonn/","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fikemonn.hatenablog.com%2Fentry%2F2015%2F10%2F16%2F080000\" title=\"\u3010Underscore.js\u3011_.reduce\u3092\u8aad\u3093\u3060 - ikemonn&#39;s blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"ikemonn's blog","type":"rich","url":"https://ikemonn.hatenablog.com/entry/2015/10/16/080000","height":"190"}