<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>arm4</author_name>
  <author_url>https://blog.hatena.ne.jp/arm4/</author_url>
  <blog_title>nanisore oishisou</blog_title>
  <blog_url>https://arm4.hatenablog.com/</blog_url>
  <categories>
    <anon>JavaScript</anon>
  </categories>
  <description>皆さん、こんにちはベル子です。 このブログでコード貼り付けると見た目が悪くて耐えられないので これからgistを使うことにしました。 デキるレディーはいつもオシャレ。 ということで本題です。 こないだのES2015でうまく説明できなかったfor文で同じ値が参照され続けてしまう罠のサンプルを作成したので、解説しようと思います。 まずは下のコードを見て出力結果を予想してみてください。 何が表示されるでしょうか？ これを書いた人が期待しているのは、以下のような出力結果です。 0 hello I'm hanako 1 hello I'm hanako 2 hello I'm hanako ですが、実際…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Farm4.hatenablog.com%2Fentry%2F2016%2F11%2F10%2F121109&quot; title=&quot;ES2015のブロックスコープとアロー関数でJSの罠回避 - nanisore oishisou&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-11-10 12:11:09</published>
  <title>ES2015のブロックスコープとアロー関数でJSの罠回避</title>
  <type>rich</type>
  <url>https://arm4.hatenablog.com/entry/2016/11/10/121109</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
