<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mamorums</author_name>
  <author_url>https://blog.hatena.ne.jp/mamorums/</author_url>
  <blog_title>C#, Python, Web開発</blog_title>
  <blog_url>https://web-dev.hatenablog.com/</blog_url>
  <categories>
    <anon>JS/CSS/HTML</anon>
  </categories>
  <description>即時関数とは、定義した関数をすぐ使う書き方です。関数を () で囲んで、その後に (); を書くと、囲んだ関数が実行されます。 構文としては、次のような感じになります。 (function() {...} )(); 例1. 引数なしの即時関数 (function() { var x = 10, y = 20; console.log(x + y); })(); // 実行結果：30 例2. 引数ありの即時関数 (function(y) { var x = 10; console.log(x + y); })(5); // 実行結果：15 次のように、関数名を付けても大丈夫みたいです。 (fun…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fweb-dev.hatenablog.com%2Fentry%2Fweb%2Fjs%2Fsokuji-kansu&quot; title=&quot;JavaScript：即時関数 - C#, Python, Web開発&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-08-03 10:20:00</published>
  <title>JavaScript：即時関数</title>
  <type>rich</type>
  <url>https://web-dev.hatenablog.com/entry/web/js/sokuji-kansu</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
