<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>bowbow99</author_name>
  <author_url>https://blog.hatena.ne.jp/bowbow99/</author_url>
  <blog_title>日々ごちゃごちゃと考える</blog_title>
  <blog_url>https://bowbow99.hatenadiary.org/</blog_url>
  <categories>
    <anon>javascript</anon>
  </categories>
  <description>with と catch はスコープが変わる、と思ってたけど function とは全然違うのね。 var spam; alert(spam) //undefined var obj = {}; with(obj){ var spam; spam = &quot;inside of with block&quot;; }; alert(spam); //&quot;inside of with block&quot; with ブロックの中で var spam してもブロック内オンリーな spam ができる訳でもなく spam に代入した文字列は global に戻ってもそのまま。 ちゃんと仕様書を見てみたら http://www2…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbowbow99.hatenadiary.org%2Fentry%2F20070409%2F1176055311&quot; title=&quot; with と catch のスコープ - 日々ごちゃごちゃと考える&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>2007-04-09 03:01:51</published>
  <title> with と catch のスコープ</title>
  <type>rich</type>
  <url>https://bowbow99.hatenadiary.org/entry/20070409/1176055311</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
