<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sekaiya</author_name>
  <author_url>https://blog.hatena.ne.jp/sekaiya/</author_url>
  <blog_title>せかいや  </blog_title>
  <blog_url>https://sekai.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>■topic summary study about scope in JavaScript きたよー。 （悪）名高きJavaScript スコープの概念！ お断り 記載しているp関数は以下の通りです var p = function(obj){console.log(obj)}; varをつける理由 varをつけるとその関数内だけで有効な変数となる。 つまり、関数外の変数（グローバル変数）には varをつけてもつけなくても挙動は同じ（だと思う）。 統一のために、すべてにvarをつけることが推奨されているみたい。 変数のスコープは「関数全域」 var x=1; function f(){ p(…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsekai.hateblo.jp%2Fentry%2F2013%2F11%2F02%2F103859&quot; title=&quot;【JavaScript 】変数のスコープ。 - せかいや  &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>http://cdn-ak.f.st-hatena.com/images/fotolife/s/sekaiya/20131102/20131102194355.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2013-11-02 10:38:59</published>
  <title>【JavaScript 】変数のスコープ。</title>
  <type>rich</type>
  <url>https://sekai.hateblo.jp/entry/2013/11/02/103859</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
