<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ikemonn</author_name>
  <author_url>https://blog.hatena.ne.jp/ikemonn/</author_url>
  <blog_title>ikemonn's blog</blog_title>
  <blog_url>https://ikemonn.hatenablog.com/</blog_url>
  <categories>
    <anon>JavaScript</anon>
  </categories>
  <description>概要 リストの要素を一つの値にまとめていく。 引数のmemoは初期値。 iterateeが実行されたあと、その値をメモ化しておき、リストのindex番目の値とともにiterateeに渡し、各値を処理する。 var list = [1, 2, 3]; var sum = _.reduce(list, function(memo, num){ return memo + num; }); console.log(sum); // 6 ソースコード // Create a reducing function iterating left or right. function createReduce…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fikemonn.hatenablog.com%2Fentry%2F2015%2F10%2F16%2F080000&quot; title=&quot;【Underscore.js】_.reduceを読んだ - ikemonn&amp;#39;s blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-10-16 08:00:00</published>
  <title>【Underscore.js】_.reduceを読んだ</title>
  <type>rich</type>
  <url>https://ikemonn.hatenablog.com/entry/2015/10/16/080000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
