<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ku__ra__ge</author_name>
  <author_url>https://blog.hatena.ne.jp/ku__ra__ge/</author_url>
  <blog_title>くらげのChangeLog</blog_title>
  <blog_url>https://culage.hatenablog.com/</blog_url>
  <categories>
    <anon>program</anon>
  </categories>
  <description>javascriptでは同じ名前の関数が複数定義されても特にエラーなどは発生しない。 その場合は後に宣言した側の内容が利用される。 console.log( &quot;first:&quot; + f() ); // → first: f2 ●関数は巻き上げられるので、ここで呼んでも問題ない document.addEventListener(&quot;DOMContentLoaded&quot;, () =&gt; { console.log( &quot;onload: &quot; + f() ); // → onload: f2 }); function f() { return &quot;f1&quot;; } function f() { return &quot;f2…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fculage.hatenablog.com%2Fentry%2F2020%2F09%2F30%2F000000&quot; title=&quot;javascriptの関数名が重複すると後勝ちで利用される - くらげのChangeLog&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>2020-09-30 00:00:00</published>
  <title>javascriptの関数名が重複すると後勝ちで利用される</title>
  <type>rich</type>
  <url>https://culage.hatenablog.com/entry/2020/09/30/000000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
