<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gengar</author_name>
  <author_url>https://blog.hatena.ne.jp/gengar/</author_url>
  <blog_title>かきにっき</blog_title>
  <blog_url>https://gengar.hatenadiary.org/</blog_url>
  <categories>
    <anon>JavaScript</anon>
  </categories>
  <description>withとオブジェクトリテラルを使うと，Schemeのletのようなことができると知った． var hoge = 1; with ({hoge: 2}) { print(hoge); // 2 } print(hoge); // 1 これは便利そう．でも２種類の括弧が入り交じっててちょっと複雑だなぁ．JavaScript1.7にはletがあるらしい． ちなみに，with内での参照順は「ローカル変数→withのオブジェクト→外」の順． 宣言していない変数への代入は，withのオブジェクトのプロパティへの代入と解釈される．</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgengar.hatenadiary.org%2Fentry%2F20080305%2F1204681156&quot; title=&quot;Schemeのletのようなこと - かきにっき&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>2008-03-05 10:39:16</published>
  <title>Schemeのletのようなこと</title>
  <type>rich</type>
  <url>https://gengar.hatenadiary.org/entry/20080305/1204681156</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
