<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>fanjia</author_name>
  <author_url>https://blog.hatena.ne.jp/fanjia/</author_url>
  <blog_title>だれも聞いていないと思って歌え</blog_title>
  <blog_url>https://38fanjia.hatenablog.com/</blog_url>
  <categories>
    <anon>JavaScript</anon>
  </categories>
  <description>何となくで使うのではなく、しっかりと理解しようと思い改めて整理しました。 Array.prototype.forEach() forEach は、全ての要素に対して関数を一度ずつ実行する。 map や filter とは異なり新しい配列は生成しない。 // 配列の要素の合計を計算する let sum = 0; const list = [10, 20, 30, 40]; list.forEach(param =&gt; { sum += param; }); console.log(sum); &gt; 100 Array.prototype.forEach() - JavaScript | MDN Ar…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2F38fanjia.hatenablog.com%2Fentry%2F2016%2F10%2F10%2F170900&quot; title=&quot;配列の操作(forEach,map,filter,find,some,every)について - だれも聞いていないと思って歌え&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>2016-10-10 17:09:00</published>
  <title>配列の操作(forEach,map,filter,find,some,every)について</title>
  <type>rich</type>
  <url>https://38fanjia.hatenablog.com/entry/2016/10/10/170900</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
