<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shawshank99</author_name>
  <author_url>https://blog.hatena.ne.jp/shawshank99/</author_url>
  <blog_title>にょきにょきブログ</blog_title>
  <blog_url>https://aoking.hatenablog.jp/</blog_url>
  <categories>
    <anon>JavaScript</anon>
  </categories>
  <description>同じ空間内で同じ名前の関数を定義しても、後のほうに定義した関数が元の定義を上書きする。 コード例 function f() { alert('before'); } function f() { alert('after'); } f(); //after んでこれ実験して初めて知ったのだけど、どの時点でもf();を呼んだら after が表示されるのね。 つまりコードを実行する前に関数の定義がエンジンに登録されるわけだ。 f(); //after function f() { alert('before'); } f(); //after function f() { alert('afte…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Faoking.hatenablog.jp%2Fentry%2F20100112%2F1263254288&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2010-01-12 08:58:08</published>
  <title>Javascriptで同じ名前の関数を再定義</title>
  <type>rich</type>
  <url>https://aoking.hatenablog.jp/entry/20100112/1263254288</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
