<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>takashiski</author_name>
  <author_url>https://blog.hatena.ne.jp/takashiski/</author_url>
  <blog_title>takashiskiのブログ</blog_title>
  <blog_url>https://takashiski.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>jsではスコープが関数スコープとグローバルスコープしかない。 変数は、現在のスコープに該当する変数がなければ外側のスコープへ段階的に覗きにいくホイスティングがある。 宣言なしで変数を宣言するとグローバル領域に宣言したものとされる global以下に宣言される感じ クラスのメンバ関数の先頭では、とりあえず&quot;var self=this;&quot;を宣言して呼び出し元を覚えさせておく</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakashiski.hatenablog.com%2Fentry%2F2016%2F02%2F19%2F002506&quot; title=&quot;jsで踏み抜きまくった罠 - takashiskiのブログ&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-02-19 00:25:06</published>
  <title>jsで踏み抜きまくった罠</title>
  <type>rich</type>
  <url>https://takashiski.hatenablog.com/entry/2016/02/19/002506</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
