<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>icedtomatobazooka</author_name>
  <author_url>https://blog.hatena.ne.jp/icedtomatobazooka/</author_url>
  <blog_title>アイストマトバズーカのゲーム制作日記</blog_title>
  <blog_url>https://icedtomatobazooka.site/</blog_url>
  <categories>
    <anon>プログラミングとか</anon>
  </categories>
  <description>こんにちは。 順列・組み合わせリスト化ページを作成しようと思っていましたが調べているうちに新しいことが出てきたのでまたメモ書きをしておきます。 JavaScriptの再帰関数というものです。 再帰関数は関数の処理の中で自分自身を呼び出す関数のことを指します。自分を呼び出すということは呼び出した自分もまた自分を呼び出すので無限ループになりそうですが停止条件を設定することで特殊な動きをするループを作ることができます。 サンプルとして総和を求める再帰関数↓ function sum(n) { if (n &lt;= 1) { return 1; } return n + sum(n - 1); } この関…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ficedtomatobazooka.site%2Fentry%2F2024%2F03%2F11%2F044033&quot; title=&quot;JavaScriptさわってみる13回目(´・ω・) 再帰関数 - アイストマトバズーカのゲーム制作日記&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>https://cdn-ak.f.st-hatena.com/images/fotolife/i/icedtomatobazooka/20240311/20240311043114.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-03-11 04:40:33</published>
  <title>JavaScriptさわってみる13回目(´・ω・) 再帰関数</title>
  <type>rich</type>
  <url>https://icedtomatobazooka.site/entry/2024/03/11/044033</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
